2022-02-15 06:13:11 +00:00
|
|
|
|
2018-09-23 11:11:35 +00:00
|
|
|
<head>
|
2022-02-15 06:13:11 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
|
2019-03-23 07:18:03 +00:00
|
|
|
<title>
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- if eq .Title .Site.Title -}}
|
|
|
|
{{ .Site.Title }}
|
|
|
|
{{- else -}}
|
2022-05-06 01:23:22 +00:00
|
|
|
{{ .Title }} | {{ .Site.Title }}
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- end -}}
|
2019-03-23 07:18:03 +00:00
|
|
|
</title>
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2022-02-15 06:13:11 +00:00
|
|
|
<meta name="supported-color-schemes" content="light dark" />
|
2019-08-13 19:00:20 +00:00
|
|
|
<meta name="author" content="{{ .Site.Params.Author }}" />
|
2022-02-15 06:13:11 +00:00
|
|
|
<meta name="robots" content="index,follow" />
|
2022-11-23 03:24:06 +00:00
|
|
|
<link rel="manifest" href="/manifest.json" />
|
2022-11-26 04:22:28 +00:00
|
|
|
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/"/>
|
2022-06-12 00:35:11 +00:00
|
|
|
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}{{ .Site.Params.favicon }}">
|
2022-12-14 05:15:17 +00:00
|
|
|
<link rel="pgpkey" href="https://keys.openpgp.org/pks/lookup?op=get&options=mr&search={{ .Site.Params.email }}">
|
2018-09-24 16:11:11 +00:00
|
|
|
|
2020-03-01 14:46:57 +00:00
|
|
|
<!-- Identities -->
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- range .Site.Params.identities -}}
|
|
|
|
<link href="{{.}}" rel="me"/>
|
|
|
|
{{ end -}}
|
|
|
|
|
2022-05-01 05:06:44 +00:00
|
|
|
<!-- Webmentions -->
|
2022-11-26 04:22:28 +00:00
|
|
|
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
|
|
|
<link rel="webmention" href="https://webmention.io/{{ $siteHost }}/webmention" />
|
|
|
|
<link rel="pingback" href="https://webmention.io/{{ $siteHost }}/xmlrpc" />
|
2022-05-01 05:06:44 +00:00
|
|
|
|
2022-05-02 04:04:37 +00:00
|
|
|
<!-- RSS / Alternative Links -->
|
|
|
|
{{- if .IsHome -}}
|
|
|
|
<link rel="alternate" type="application/json" href="{{ .Site.BaseURL }}blog/index.json" title="Brandon Rozek's Blog" />
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}blog/index.xml" title="Brandon Rozek's Blog" />
|
|
|
|
<link rel="alternate" type="application/json" href="{{ .Site.BaseURL }}presentations/index.json" title="Brandon Rozek's Presentations}" />
|
|
|
|
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}presentations/index.xml" title="Brandon Rozek's Presentations" />
|
|
|
|
{{ else }}
|
2022-02-15 06:13:11 +00:00
|
|
|
{{ range .AlternativeOutputFormats -}}
|
|
|
|
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
2022-05-02 04:04:37 +00:00
|
|
|
{{ end }}
|
2022-02-15 06:13:11 +00:00
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
<!-- CSS -->
|
|
|
|
{{- $style := resources.Get "css/style.css" -}}
|
|
|
|
{{- $markdown := resources.Get "css/markdown.css" -}}
|
|
|
|
{{- $fontawesome := resources.Get "css/fontawesome.css" -}}
|
|
|
|
{{- $syntaxHighlight := resources.Get "css/syntax-highlight.css" -}}
|
2020-12-22 15:20:17 +00:00
|
|
|
{{ $css := slice $style $markdown $fontawesome $syntaxHighlight | resources.Concat "css/style.css" | resources.Minify | resources.Fingerprint }}
|
2020-03-22 20:09:31 +00:00
|
|
|
<link rel="stylesheet" href="{{ $css.Permalink }}" integrity="{{ $css.Data.Integrity }}">
|
2022-11-23 03:24:06 +00:00
|
|
|
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- $styleDark := resources.Get "css/style-dark.css" -}}
|
|
|
|
{{- $markdownDark := resources.Get "css/markdown-dark.css" -}}
|
2020-12-22 15:20:17 +00:00
|
|
|
{{ $cssDark := slice $styleDark $markdownDark | resources.Concat "css/style-dark.css" | resources.Minify | resources.Fingerprint }}
|
2020-03-22 20:09:31 +00:00
|
|
|
<link rel="stylesheet" href="{{ $cssDark.Permalink }}" media="(prefers-color-scheme: dark)" integrity="{{ $cssDark.Data.Integrity }}">
|
2018-09-24 16:11:11 +00:00
|
|
|
|
2019-03-23 07:18:03 +00:00
|
|
|
<!-- custom css -->
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- range .Site.Params.custom_css -}}
|
|
|
|
<link rel="stylesheet" href="{{ . }}">
|
|
|
|
{{ end -}}
|
2018-09-24 16:11:11 +00:00
|
|
|
|
2019-03-23 07:18:03 +00:00
|
|
|
{{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/gohugoio/hugo/tree/master/tpl/tplimpl/embedded/templates */}}
|
|
|
|
{{- template "_internal/opengraph.html" . -}}
|
|
|
|
{{- template "_internal/schema.html" . -}}
|
2020-02-26 11:00:39 +00:00
|
|
|
<!-- {{- template "_internal/twitter_cards.html" . -}} -->
|
2023-01-05 05:35:01 +00:00
|
|
|
{{- partial "external/twitter_cards.html" . -}}
|
2018-09-24 16:11:11 +00:00
|
|
|
|
2022-11-23 03:24:06 +00:00
|
|
|
<script src="https://polyfill.io/v3/polyfill.js"></script>
|
2018-09-24 16:11:11 +00:00
|
|
|
|
2020-12-22 15:20:17 +00:00
|
|
|
<!-- MathJax -->
|
2022-02-15 06:13:11 +00:00
|
|
|
{{- if or .Params.math .Site.Params.math -}}
|
|
|
|
{{ partial "mathjax_support.html" . }}
|
|
|
|
{{- end -}}
|
2022-08-21 04:06:51 +00:00
|
|
|
|
|
|
|
{{ partial "citation.html" . }}
|
2022-11-23 03:24:06 +00:00
|
|
|
|
|
|
|
{{- $script := resources.Get "js/script.js" -}}
|
|
|
|
<script src="{{ $script.Permalink }}" async></script>
|
2018-09-23 11:11:35 +00:00
|
|
|
</head>
|