Updated post metadata image

This commit is contained in:
Anton Pogrebnjak
2025-02-08 20:19:43 +01:00
parent 97dab1ebc5
commit 76cb1c417a

View File

@@ -12,7 +12,27 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
<html lang="en">
<head>
<BaseHead title={title} description={description} />
<BaseHead title={title} description={description} image={heroImage} />
<!-- Katex -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css"
integrity="sha384-n8MVd4RsNIU0tAv4ct0nTaAbDJwPJzDEaqSD1odI+WdtXRGWt2kTvGFasHpSy3SV"
crossorigin="anonymous"
/>
<script
defer
src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"
integrity="sha384-XjKyOOlGwcjNTAIQHIpgOno0Hl1YQqzUOEleOLALmuqehneUG+vnGctmUb0ZY0l8"
crossorigin="anonymous"
></script>
<script
defer
src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js"
integrity="sha384-+VBxd3r6XgURycqtZ117nYw44OOcIax56Z4dCRWbxyPt0Koah1uHoK0o4+/RRE05"
crossorigin="anonymous"
onload="renderMathInElement(document.body);"
></script>
<style>
main {
width: calc(100% - 2em);