|
| 1 | +<meta charset="utf-8"> |
| 2 | +<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> |
| 3 | +{{ hugo.Generator }} |
| 4 | +{{ if eq (getenv "HUGO_ENV") "production" }} |
| 5 | +<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> |
| 6 | +{{ else }} |
| 7 | +<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> |
| 8 | +{{ end }} |
| 9 | +{{ range .AlternativeOutputFormats -}} |
| 10 | +<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> |
| 11 | +{{ end -}} |
| 12 | +{{ partialCached "favicons.html" . }} |
| 13 | +<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> |
| 14 | +{{- template "_internal/opengraph.html" . -}} |
| 15 | +{{- template "_internal/schema.html" . -}} |
| 16 | +{{- template "_internal/twitter_cards.html" . -}} |
| 17 | +{{ if eq (getenv "HUGO_ENV") "production" }} |
| 18 | +{{ template "_internal/google_analytics_async.html" . }} |
| 19 | +{{ end }} |
| 20 | +{{ partialCached "head-css.html" . "asdf" }} |
| 21 | +<script |
| 22 | + src="https://code.jquery.com/jquery-3.5.1.min.js" |
| 23 | + integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" |
| 24 | + crossorigin="anonymous"></script> |
| 25 | +{{ if .Site.Params.offlineSearch }} |
| 26 | +<script |
| 27 | + src=" https://unpkg.com/[email protected]/lunr.min.js" |
| 28 | + integrity="sha384-vRQ9bDyE0Wnu+lMfm57BlYLO0/XauFuKpVsZPs7KEDwYKktWi5+Kz3MP8++DFlRY" |
| 29 | + crossorigin="anonymous"></script> |
| 30 | +{{end}} |
| 31 | +{{ with .Site.Params.prism_syntax_highlighting }} |
| 32 | +<!-- stylesheet for Prism --> |
| 33 | +<link rel="stylesheet" href="/css/prism.css" /> |
| 34 | +{{ end }} |
| 35 | +{{ partial "hooks/head-end.html" . }} |
0 commit comments