baseof.html (1416B) - Raw
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 {{ partial "html-meta.html" . -}} 6 <title>{{ if not (or .IsHome .IsSection) }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title> 7 {{ $css := resources.Get "static/style.scss" | resources.ToCSS (dict "transpiler" "dartsass" "enableSourceMap" false) | resources.Fingerprint }} 8 <link rel="stylesheet" href="{{ $css.RelPermalink }}"> 9 {{ with .Site.Params.favicon -}} 10 <link rel="shortcut icon" href="{{ . }}" type="image/x-icon"> 11 {{ end -}} 12 {{ with .OutputFormats.Get "rss" -}} 13 {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} 14 {{ end -}} 15 <meta name="viewport" content="width=device-width,initial-scale=1"> 16 <meta name="description" 17 content="{{ if .Params.description }}{{ .Params.description }}{{ else }}11sync.net blog{{ end }}" 18 /> 19 <link rel="icon" href="data:;base64,iVBORw0KGgo="> 20 </head> 21 <body id="page-blog"> 22 <div> 23 24 <nav> 25 {{- range .Site.Menus.main -}} 26 <a href="{{ .URL }}">{{ .Name }}</a> 27 {{- end -}} 28 </nav> 29 30 <header> 31 <h1 class="brand-title"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1> 32 {{- if .Site.Params.subtitle }} 33 <h2 class="brand-subtitle"><a href="{{ .Site.BaseURL }}">{{ .Site.Params.subtitle }}</a></h2> 34 {{- end }} 35 </header> 36 37 <main> 38 {{ block "main" . }}{{- end }} 39 </main> 40 </div> 41 </body> 42 </html>