| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <!DOCTYPE html>
- <html lang="{{ .Site.LanguageCode }}">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
- {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
- {{ with .Site.Params.keywords }}<meta name="keywords" content="{{ . }}">{{ end }}
- <base href="{{ .Site.BaseURL }}">
- <title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
- <link rel="canonical" href="{{ .Permalink }}">
- <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono:400,700">
- <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous" />
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.0/normalize.min.css" integrity="sha256-oSrCnRYXvHG31SBifqP2PM1uje7SJUyX0nTwO2RJV54=" crossorigin="anonymous" />
- {{ if .Site.IsServer }}
- {{ $cssOpts := (dict "targetPath" "css/coder.css" "enableSourceMap" true ) }}
- {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts }}
- <link rel="stylesheet" href="{{ $styles.Permalink }}" media="screen">
- {{ else }}
- {{ $cssOpts := (dict "targetPath" "css/coder.css" ) }}
- {{ $styles := resources.Get "scss/coder.scss" | resources.ExecuteAsTemplate "style.coder.css" . | toCSS $cssOpts | minify | fingerprint }}
- <link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen">
- {{ end }}
- {{ range .Site.Params.custom_css }}
- <link rel="stylesheet" href="{{ . | absURL }}">
- {{ end }}
- <link rel="icon" type="image/png" href="{{ "/images/favicon-32x32.png" | absURL }}" sizes="32x32">
- <link rel="icon" type="image/png" href="{{ "/images/favicon-16x16.png" | absURL }}" sizes="16x16">
- {{ if .RSSLink }}
- <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
- <link href="{{ .RSSLink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title }}" />
- {{ end }}
- {{ .Hugo.Generator }}
- </head>
- <body>
- <main class="wrapper">
- {{ partial "header.html" . }}
- <div class="content">
- {{ block "content" . }}{{ end }}
- </div>
- {{ partial "footer.html" . }}
- </main>
- {{ template "_internal/google_analytics.html" . }}
- </body>
- </html>
|