chore: minor refactor into some components and updated favicon
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-11-22 00:06:23 +01:00
parent 1d797e2dbe
commit a5d3edf6db
7 changed files with 161 additions and 165 deletions
+3 -1
View File
@@ -20,6 +20,8 @@ type Props = {
pageTags?: string | string[]
}
import phcIcon from '../assets/icon.png'
const { title, description, thumbnail, pageTags } = Astro.props
---
@@ -36,7 +38,7 @@ const { title, description, thumbnail, pageTags } = Astro.props
<meta property="og:url" content="https://phc.dm.unipi.it/" />
{thumbnail && <meta property="og:image" content={thumbnail} />}
<link rel="icon" type="image/png" sizes="512x512" href="/favicon.svg" />
<link rel="icon" type="image/png" sizes="512x512" href={phcIcon.src} />
<script>
import renderMathInElement from 'katex/contrib/auto-render'