mirror of
https://github.com/imfing/hextra.git
synced 2025-05-13 18:26:26 -04:00
feat: add twtter cards to head
This commit is contained in:
parent
228496f262
commit
0360a93e99
@ -18,7 +18,8 @@
|
|||||||
<meta name="description" content="{{ partial "utils/page-description.html" . }}" />
|
<meta name="description" content="{{ partial "utils/page-description.html" . }}" />
|
||||||
{{ partial "opengraph.html" . }}
|
{{ partial "opengraph.html" . }}
|
||||||
{{ template "_internal/schema.html" . -}}
|
{{ template "_internal/schema.html" . -}}
|
||||||
{{ partial "head-css.html" . }}
|
{{ template "_internal/twitter_cards.html" . -}}
|
||||||
|
{{ partialCached "head-css.html" . }}
|
||||||
<script>
|
<script>
|
||||||
/* Initialize light/dark mode */
|
/* Initialize light/dark mode */
|
||||||
if (localStorage.getItem("color-theme") === "dark" || (!("color-theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
if (localStorage.getItem("color-theme") === "dark" || (!("color-theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user