~kl/systemstack

ref: 6481dbe51373f03455ef4891f0409047127ba444 systemstack/layouts/_default/baseof.html -rw-r--r-- 1.5 KiB
6481dbe5 — Kevin Lipe add blocks for fonts and footers 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!DOCTYPE html>
<html>
    <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 "sass/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>
    <body>
        <main class="u-container">
            <div class="c-page">
                <header class="c-page__header">
                    <h1 class="sitename">{{ .Site.Title }}</h1>
                    {{ block "homepage_tag" . }}{{end}}
                    {{- partial "nav.html" . -}}
                  </header>
                <div class="c-page__main">
                    {{- block "main" . }}{{- end }}
                </div>
                {{ block "footer" . }}{{- partial "footer.html" . -}}{{ end }}
            </div>
        </main>
    </body>
</html>