initial commit
This commit is contained in:
66
themes/gamesdb/layouts/partials/head.html
Normal file
66
themes/gamesdb/layouts/partials/head.html
Normal file
@ -0,0 +1,66 @@
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- Set the base URL for all relative URLs within the document -->
|
||||
<base href="{{ .Site.BaseURL }}">
|
||||
|
||||
<meta name="robots" content="index,follow">
|
||||
<meta name="googlebot" content="index,follow">
|
||||
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<meta http-equiv="x-dns-prefetch-control" content="off">
|
||||
|
||||
<meta name="google" content="notranslate">
|
||||
<meta name="google" content="nositelinkssearchbox">
|
||||
|
||||
<meta name="rating" content="General">
|
||||
|
||||
<meta name="url" content="{{ .Site.BaseURL }}">
|
||||
<meta name="subject" content="your website's subject">
|
||||
<meta name="description" content="A description of the page">
|
||||
|
||||
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
|
||||
|
||||
<!-- Privacy -->
|
||||
<meta name="twitter:dnt" content="on">
|
||||
<meta name="pinterest" content="nopin" description="No pinning allowed.">
|
||||
|
||||
<!-- analytics -->
|
||||
<!-- -->
|
||||
|
||||
<!-- Helps prevent duplicate content issues -->
|
||||
<!-- <link href="{{ .Site.BaseURL }}2010/06/title-of-my-article" rel="canonical"> -->
|
||||
|
||||
<!-- Files listing who was involved in this site and copyrights -->
|
||||
<link href="{{ .Site.BaseURL }}humans.txt" rel="author">
|
||||
<link href="{{ .Site.BaseURL }}copyright.html" rel="copyright">
|
||||
|
||||
<!-- Favicon -->
|
||||
<!-- <link href="{{ .Site.BaseURL }}favicon.ico" rel="icon" sizes="16x16" type="image/icon"> -->
|
||||
<!-- <link href="{{ .Site.BaseURL }}favicon.svg" rel="icon" type="image/svg+xml"> -->
|
||||
<!-- <link href="{{ .Site.BaseURL }}favicon.png" rel="icon" sizes="192x192"> -->
|
||||
|
||||
<!-- Font preloads (should be done for each font file) -->
|
||||
<link href="{{ .Site.BaseURL }}fonts/Barlow/Barlow-Regular.woff2" rel="preload" as="font" type="font/woff2" crossorigin="anonymous">
|
||||
|
||||
<!-- CSS -->
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
<link href="{{ .Site.BaseURL }}css/app.css" rel="stylesheet" media="screen">
|
||||
|
||||
<!-- JS that must be executed before the document is loaded -->
|
||||
<script>
|
||||
if (localStorage.theme === "dark" || (!("theme" in localStorage) && window.matchMedia("(prefers-color-scheme: dark)").matches)) {
|
||||
document.documentElement.classList.add("dark"); localStorage.theme = "dark";
|
||||
} else {
|
||||
document.documentElement.classList.remove("dark"); localStorage.theme = "light";
|
||||
}
|
||||
</script>
|
||||
<script type="importmap">
|
||||
{
|
||||
"imports": {
|
||||
"vue": "{{ .Site.BaseURL }}js/vendor/vue.esm-browser.js"
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<!-- <script src="{{ .Site.BaseURL }}js/vendor/vue.esm-browser.js" defer></script> -->
|
||||
<script src="{{ .Site.BaseURL }}js/app.js" type="module"></script>
|
Reference in New Issue
Block a user