63 lines
2.0 KiB
HTML
63 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="referer" content="no-referer-when-downgrade">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="apple-touch-icon" sizes="76x76" href="/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
|
<link rel="manifest" href="/site.webmanifest">
|
|
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#12304c">
|
|
|
|
<meta name="msapplication-TileColor" content="#12304e">
|
|
<meta name="theme-color" content="#12304e">
|
|
|
|
<title>{{ block "title" . }}{{ with .Params.Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title>
|
|
|
|
<script type="application/ld+json">
|
|
{
|
|
"@context": "https://schema.org",
|
|
"@type": "WebSite",
|
|
"name": "Blake Rain",
|
|
"url": "https://blakerain.com"
|
|
}
|
|
</script>
|
|
|
|
{{ partial "css" . }}
|
|
|
|
{{ $description := "" }}
|
|
{{ with .Description }}
|
|
{{ $description = . }}
|
|
{{ else }}
|
|
{{ if .IsPage }}
|
|
{{ $description = .Summary }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ with $description }}<meta name="description" content="{{ . }}">{{ end }}
|
|
|
|
{{ with union .Site.Params.keywords .Params.keywords }}
|
|
<meta name="keywords" content="{{ delimit . ", " }}">
|
|
{{ end }}
|
|
|
|
<meta name="author" content="Blake Rain">
|
|
<link rel="canonical" href="{{ .Permalink }}" />
|
|
|
|
{{ template "_internal/opengraph.html" . }}
|
|
{{ template "_internal/twitter_cards.html" . }}
|
|
|
|
{{ if not hugo.IsDevelopment }}
|
|
<script defer data-domain="blakerain.com" src="https://pa.blakerain.com/js/script.js" ></script>
|
|
{{ end }}
|
|
{{ block "head" . }}{{ end }}
|
|
</head>
|
|
<body class="flex flex-col">
|
|
{{ partial "navigation" (dict "page" .) }}
|
|
<div class="grow{{ if .IsHome }} flex flex-col justify-center{{ end }}">
|
|
{{ block "main" . }}{{ end }}
|
|
</div>
|
|
{{ partial "footer" . }}
|
|
</body>
|
|
</html>
|