redstrate.com/themes/red/layouts/partials/head.html

49 lines
1.9 KiB
HTML
Raw Normal View History

2022-08-24 10:26:29 -04:00
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
2022-08-24 10:26:29 -04:00
2022-11-06 17:25:01 -05:00
<meta name="theme-color" content="#eff1ff" media="(prefers-color-scheme: light)">
<meta name="theme-color" content="#34313a" media="(prefers-color-scheme: dark)">
{{ if .IsHome }}
<meta name="description" content="{{ $.Site.Params.description }}">
<title>{{.Site.Title}}</title>
{{ else }}
<title>{{.Site.Title}} / {{ .Title }}</title>
2023-04-13 18:38:37 -04:00
{{ if .Summary }}
<meta name="description" content="{{ .Summary }}">
2023-04-13 18:38:37 -04:00
{{ else }}
<meta name="description" content="{{ .Title }}">
{{ end }}
{{ end }}
2022-10-31 11:02:59 -04:00
<link href="/blog/index.xml" rel="alternate" type="application/rss+xml" title="{{ $.Site.Author.name }}'s blog">
2022-09-26 11:06:53 -04:00
2022-08-24 10:26:29 -04:00
{{ $style := resources.Get "css/site.css" }}
2022-12-27 21:47:12 -05:00
{{ if hugo.IsProduction }}
{{ $style = $style | minify | fingerprint | resources.PostProcess }}
{{ end }}
2022-12-27 21:47:12 -05:00
<link href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}" rel="stylesheet">
2022-10-27 10:56:25 -04:00
2023-01-05 16:46:37 -05:00
<link rel="shortcut icon" href="/favicon2.ico" type="image/x-icon">
<link rel="icon" href="/favicon180.png" type="image/png">
<link rel="mask-icon" href="/safari-mask.svg" color="#9c4c4c">
2022-12-20 14:07:05 -05:00
2022-12-27 21:47:12 -05:00
{{ $masonry := resources.Get "js/masonry.min.js" }}
{{ if hugo.IsProduction }}
2023-04-13 17:19:53 -04:00
{{ $masonry = $masonry | fingerprint | resources.PostProcess }}
2022-12-27 21:47:12 -05:00
{{ end }}
2022-12-27 21:49:08 -05:00
<script src="{{ $masonry.RelPermalink }}" integrity="{{ $masonry.Data.Integrity }}"></script>
2022-12-27 21:47:12 -05:00
{{ $imagesloaded := resources.Get "js/imagesloaded.min.js" }}
{{ if hugo.IsProduction }}
2023-04-13 17:19:53 -04:00
{{ $imagesloaded = $imagesloaded | fingerprint | resources.PostProcess }}
2022-12-27 21:47:12 -05:00
{{ end }}
2022-12-27 21:49:08 -05:00
<script src="{{ $imagesloaded.RelPermalink }}" integrity="{{ $imagesloaded.Data.Integrity }}"></script>
2022-12-27 21:47:12 -05:00
2022-12-20 14:07:05 -05:00
<meta name="robots" content="noai">
2023-04-11 18:44:18 -04:00
{{ partial "opengraph.html" . }}
2022-09-26 11:06:53 -04:00
</head>