github.com/rabbouni145/gg@v0.47.1/docs/themes/gohugoioTheme/layouts/_default/baseof.html (about) 1 <!DOCTYPE html> 2 <html class="no-js" lang="{{ with $.Site.LanguageCode }}{{ . }}{{ else }}en-us{{ end }}"> 3 <head> 4 <meta charset="utf-8"> 5 {{/* https://www.zachleat.com/web/preload/ */}} 6 <link rel="preload" href="{{ "files/muli-latin-200.woff2" | absURL }}" as="font" type="font/woff2" crossorigin> 7 <link rel="preload" href="{{ "files/muli-latin-400.woff2" | absURL }}" as="font" type="font/woff2" crossorigin> 8 <link rel="preload" href="{{ "files/muli-latin-800.woff2" | absURL }}" as="font" type="font/woff2" crossorigin> 9 10 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 11 {{/* NOTE: the Site's title, and if there is a page title, that is set too */}} 12 <title>{{ block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{ end }}</title> 13 <meta name="HandheldFriendly" content="True"> 14 <meta name="MobileOptimized" content="320"> 15 16 <meta name="viewport" content="width=device-width,minimum-scale=1"> 17 {{ .Hugo.Generator }} 18 19 {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} 20 <META NAME="ROBOTS" CONTENT="INDEX, FOLLOW"> 21 {{ else }} 22 <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> 23 {{ end }} 24 25 {{ range .AlternativeOutputFormats -}} 26 <link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}"> 27 {{ end -}} 28 29 <link href='{{ "dist/main.css" | relURL }}' rel='stylesheet' type="text/css" /> 30 {{- partial "head-additions.html" . -}} 31 {{- template "_internal/opengraph.html" . -}} 32 {{- template "_internal/google_news.html" . -}} 33 {{- template "_internal/schema.html" . -}} 34 {{- template "_internal/twitter_cards.html" . -}} 35 36 {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} 37 {{ partial "gtag" . }} 38 {{ end }} 39 40 41 42 43 </head> 44 <body class="ma0 sans-serif bg-primary-color-light{{ with getenv "HUGO_ENV" }} {{ . }}{{ end }}"> 45 {{ block "nav" . }}{{ partial "site-nav.html" . }}{{ end }} 46 {{ block "header" . }}{{ end }} 47 <main role="main" class="content-with-sidebar min-vh-100 pb7 pb0-ns"> 48 {{ block "main" . }}{{ end }} 49 </main> 50 51 {{ block "footer" . }}{{ partialCached "site-footer.html" . }}{{ end }} 52 {{ block "scripts" . }}{{- partial "site-scripts.html" . -}}{{ end }} 53 54 </body> 55 </html>