aboutsummaryrefslogtreecommitdiff
path: root/themes/base/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/base/layouts/_default/baseof.html')
-rw-r--r--themes/base/layouts/_default/baseof.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/themes/base/layouts/_default/baseof.html b/themes/base/layouts/_default/baseof.html
new file mode 100644
index 0000000..05466ea
--- /dev/null
+++ b/themes/base/layouts/_default/baseof.html
@@ -0,0 +1,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 -}}