baseof.html (1014B)


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
<!DOCTYPE html>
<html lang="{{ $.Site.Language }}">
  <head>
    {{- block "title" . }}
      <title>
        {{- if .IsHome -}}
          {{- $.Site.Title -}}
        {{- else -}}
          {{- .Title }} :: {{ $.Site.Title -}}
        {{- end -}}
      </title>
    {{- end }}
    {{- partial "head.html" . -}}
  </head>
  <body class="{{- ( or .Params.color $.Site.Params.ThemeColor ) -}}">
    <script>0</script>
    {{- $container := cond
    ($.Site.Params.FullWidthTheme | default false)
    "container full"
    (cond ($.Site.Params.CenterTheme | default false)
      "container center" "container") }}
    <div class="{{- $container -}}
                {{- cond ($.Site.Params.oneHeadingSize | default true)
                " headings--one-size" "" -}}">

      {{- partial "header.html" . -}}

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

      {{- block "footer" . -}}
        {{- partial "footer.html" . -}}
      {{- end -}}
    </div>
  </body>
</html>