Welcome to mirror list, hosted at ThFree Co, Russian Federation.

baseof.html « _default « layouts - github.com/humrochagf/colordrop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a465426415ee6ab9fa8d0e1401ac14f8b5fc987b (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns#" lang="{{ .Site.Language.Lang }}">
  <head>
    {{ partial "meta" . }}

    {{ block "jsonLD" . }}
    {{ end }}

    <!-- Page title -->
    <title>{{ .Title }} - {{ .Site.Title }}</title>

    <!-- styles -->
    {{ $style := resources.Get "sass/main.scss" | resources.ExecuteAsTemplate "style.main.scss" . | resources.ToCSS | resources.Minify | resources.Fingerprint }}
    <link rel="stylesheet" href="{{ $style.Permalink }}">
    {{ range .Site.Params.custom_css -}}
    <link rel="stylesheet" href="{{ . | absURL }}">
    {{- end }}

    {{ block "headAdditional" . }}
    {{ end }}
  </head>

  <body class="{{ block "bodyClass" . }}{{ end }}">
    {{ block "body" . }}
      <div class="wrapper">
        {{ partial "language" . }}
        {{ partial "header" . }}
        {{ partial "navigation" . }}

        <main>
          <div class="container">
            {{ block "main" . }}
            {{ end }}
          </div>
        </main>

        {{ partial "footer" . }}
      </div>
    {{ end }}

    {{ partial "addthis" . }}

    {{ block "footerJS" . }}
    {{ end }}
  </body>
</html>