aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/baseof.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/_default/baseof.html')
-rw-r--r--themes/default/layouts/_default/baseof.html47
1 files changed, 35 insertions, 12 deletions
diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html
index 3ee2e03..c277115 100644
--- a/themes/default/layouts/_default/baseof.html
+++ b/themes/default/layouts/_default/baseof.html
@@ -1,11 +1,26 @@
+{{- $modified := partial "function-page-modified.html"
+ (dict
+ "Context" .
+ "Disable" true
+ )
+-}}
+
+{{- if $modified -}}
<!DOCTYPE html>
-<html lang="en-us" itemscope itemtype="http://schema.org/BlogPosting">
+<html
+ lang="en-us"
+ data-kind="{{ .Page.Kind }}"
+ data-type="{{ .Page.Type }}"
+ itemscope=""
+ itemtype="http://schema.org/BlogPosting"
+ data-document="html"
+>
<head>
<title>
{{- block "title" . -}}{{- end -}}
- {{- partial "site-title.html" . -}}
+ {{- partial "head-title.html" . -}}
</title>
- <meta name="description" content="{{- partial "site-description.html" . -}}">
+ <meta name="description" content="{{- partial "head-description.html" . -}}" />
{{- partial "head.html" . -}}
{{- block "styles" . -}}{{- end -}}
</head>
@@ -14,19 +29,27 @@
<a href="#main">Skip to main content</a>
</skip-link>
- <column-left>
+ <column-base position="left">
{{- partial "navigator-left.html" . -}}
- </column-left>
+ </column-base>
- <column-middle>
+ <column-base position="middle">
+ {{- block "header" . -}}{{- end -}}
<main id="main">
- {{- block "middle" . -}}{{- end -}}
- {{- partial "footer.html" . -}}
+ {{- block "middle" . -}}
+ <footer>Silence is golden.</footer>
+ {{- end -}}
</main>
- </column-middle>
+ {{- block "footer" . -}}
+ {{- partial "footer.html" . -}}
+ {{- end -}}
+ </column-base>
- <column-right>
- {{- block "right" . -}}{{- end -}}
- </column-right>
+ <column-base position="right">
+ {{- block "right" . -}}
+ <footer>Silence is golden.</footer>
+ {{- end -}}
+ </column-base>
</body>
</html>
+{{- end -}}