aboutsummaryrefslogtreecommitdiff
path: root/themes/base/layouts/_default/baseof.html
blob: 05466ea789291597c44a6ac50700b7be4636c9ca (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
{{- $modified := partial "function-page-modified.html" . -}}

{{- if $modified -}}
<!DOCTYPE html>
<html
  lang="en-us"
  data-kind="{{ .Page.Kind }}"
  data-type="{{ .Page.Type }}"
>
  <head>
    <title>
      {{- block "title" . -}}
       {{ .Site.Title }}
      {{- end -}}
    </title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />

    {{- $default := resources.Get "css/default.css" -}}
    <link title ="Default" rel="stylesheet" href="{{ $default.Permalink }}" />
  </head>

  <body>
    <main class="container">
      {{- block "main" . -}}
        <p>
          This is what you see if you don't
          extend the base template's main block.
        </p>
      {{- end -}}
    </main>
  </body>
</html>
{{- end -}}