culinary.kemonine.info/themes/gochowdown/layouts/_default/baseof.html

51 lines
2.8 KiB
HTML
Raw Permalink Normal View History

2022-12-03 15:27:03 +00:00
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
{{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
2022-12-03 21:27:10 +00:00
<link rel="alternate" href="{{ "index.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
2022-12-03 15:27:03 +00:00
<link rel="canonical" href="{{ .Permalink }}">
<link rel="stylesheet" href="https://unpkg.com/normalize.css@8.0.1/normalize.css" integrity="sha384-M86HUGbBFILBBZ9ykMAbT3nVb0+2C7yZlF8X2CiKNpDOQjKroMJqIeGZ/Le8N2Qp" crossorigin="anonymous" />
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/purecss@1.0.0/build/grids-responsive-min.css" integrity="sha384-b92sF+wDNTHrfEtRaYo+EpcA8FUyHOSXrdxKc9XB9kaaX1rSQAgMevW6cYeE5Bdv" crossorigin="anonymous">
2024-07-05 14:29:48 +00:00
{{ if hugo.IsServer }}
2022-12-03 15:27:03 +00:00
{{ $cssOpts := (dict "targetPath" "css/gochowdown.css" "enableSourceMap" true ) }}
{{ $styles := resources.Get "scss/gochowdown.scss" | resources.ExecuteAsTemplate "style.gochowdown.css" . | toCSS $cssOpts }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" media="screen">
{{ else }}
{{ $cssOpts := (dict "targetPath" "css/gochowdown.css" ) }}
{{ $styles := resources.Get "scss/gochowdown.scss" | resources.ExecuteAsTemplate "style.gochowdown.css" . | toCSS $cssOpts | minify | fingerprint }}
<link rel="stylesheet" href="{{ $styles.RelPermalink }}" integrity="{{ $styles.Data.Integrity }}" crossorigin="anonymous" media="screen" />
{{ end }}
{{ range .Site.Params.custom_css }}
<link rel="stylesheet" href="{{ . | absURL }}">
{{ end }}
2024-06-17 15:02:23 +00:00
<script defer data-domain="culinary.kemonine.info" src="https://plausible.kemonine.info/js/script.js"></script>
2022-12-03 15:27:03 +00:00
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/apple-touch-icon.png" | absURL }}">
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/favicon-32x32.png" | absURL }}">
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/favicon-16x16.png"| absURL }}">
<link rel="manifest" href="/site.webmanifest">
2022-12-03 15:27:03 +00:00
{{ hugo.Generator }}
</head>
<body>
{{ partial "header.html" . }}
<main class="content">
{{ block "content" . }}{{ end }}
</main>
{{ partial "footer.html" . }}
2024-07-05 14:29:48 +00:00
{{ if .Site.Config.Services.GoogleAnalytics }}
2022-12-03 15:27:03 +00:00
{{ template "_internal/google_analytics.html" . }}
{{ end }}
</body>
2022-12-03 17:46:02 +00:00
</html>