~kl/systemstack

ref: 7f69cc76011277bfb9b448af5f2d18e1091a9aac systemstack/layouts/partials/head.html -rw-r--r-- 889 bytes
7f69cc76Kevin Lipe move <head> to partial 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    {{ block "pagetitle" . }}<title>{{ .Site.Title }}</title>{{ end }}
    <meta name="description" content="{{ .Site.Params.Description }}">
    {{ block "googlefonts" . }}<link href='https://fonts.googleapis.com/css?family=Roboto+Condensed|Source+Code+Pro|Oi|Source+Serif+Pro:400,600,400italic,600italic' rel='stylesheet' type='text/css'>{{ end }}

    {{ $style := resources.Get "style/main.scss" | resources.ToCSS (dict "outputStyle" "compressed") | fingerprint }}
    <link rel="stylesheet" href="{{ $style.Permalink }}">

    {{ range .AlternativeOutputFormats -}}
        {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
    {{ end -}}

</head>