aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/_default/baseof.html
blob: 7bbf0d5e659d64700ebb2e5ac09e610f1a5d2eb9 (plain)
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
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode | default "en-us" }}">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">


        <link rel="stylesheet" type="text/css" href="/css/all.css" />

        {{ with .Site.Params.favicon }}<link rel="icon" type="image/png" href="{{ . }}" />{{ end }}

        <title itemprop="name">{{ .Title }} | {{ .Site.Params.description }}</title>
        {{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
        {{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}

        {{ $styles := resources.Get "scss/main.scss" | resources.ToCSS | minify | fingerprint}}
        <link rel="stylesheet" href="{{ $styles.RelPermalink }}" media="screen">
        {{ partial "meta" . }}
    </head>
    <body>
        <div class="layout">
            {{ partial "header" . }}
            {{ block "main" . }}{{ end }}
            {{ partial "footer" . }}
        </div>
    </body>
</html>