summaryrefslogtreecommitdiff
path: root/layouts/_default/baseof.html
blob: 15e87f0a7043f2c4a007fbd73bfded36ec1f3338 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="css/style.css" rel="stylesheet">
    <title>{{ block "title" . }} {{ .Site.Title }} {{ end }}</title>
  </head>
  <body>
    <!-- Code that all your templates share, like a header -->
    {{- block "main" . -}}
      <!-- The part of the page that begins to differ between templates -->
    {{- end -}}
    {{- block "footer" . -}}
    <!-- More shared code, perhaps a footer but that can be overridden if need be in  -->
    {{- end -}}
  </body>
</html>