diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..4524afd --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,22 @@ +<head> + + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> + + <link rel="canonical" href="{{ .Permalink }}"> + + <title> + {{ block "title" . }} + {{ .Title}}{{ if ne .Title .Site.Title }} | {{ .Site.Title }}{{ end }} + {{ end }} + </title> + + <!-- Load stylesheet --> + <link href="{{ .Site.BaseURL }}css/fontawesome.min.css" rel="stylesheet"> + + {{ $style := resources.Get "css/ace.scss" | toCSS (dict "targetPath" "css/ace.css" "enableSourceMap" false) }} + <link rel="stylesheet" href="{{ ($style | minify | fingerprint).RelPermalink }}"> + + {{ template "_internal/google_analytics_async.html" . }} + +</head> |