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.html33
1 files changed, 22 insertions, 11 deletions
diff --git a/themes/default/layouts/_default/baseof.html b/themes/default/layouts/_default/baseof.html
index ddd2780..c277115 100644
--- a/themes/default/layouts/_default/baseof.html
+++ b/themes/default/layouts/_default/baseof.html
@@ -1,5 +1,11 @@
-{{- $modified := partial "function-page-modified.html" . -}}
+{{- $modified := partial "function-page-modified.html"
+ (dict
+ "Context" .
+ "Disable" true
+ )
+-}}
+{{- if $modified -}}
<!DOCTYPE html>
<html
lang="en-us"
@@ -7,14 +13,15 @@
data-type="{{ .Page.Type }}"
itemscope=""
itemtype="http://schema.org/BlogPosting"
+ data-document="html"
>
<head>
<title>
{{- block "title" . -}}{{- end -}}
- {{- partial "base-title.html" . -}}
+ {{- partial "head-title.html" . -}}
</title>
- <meta name="description" content="{{- partial "base-description.html" . -}}" />
- {{- partial "base-head.html" . -}}
+ <meta name="description" content="{{- partial "head-description.html" . -}}" />
+ {{- partial "head.html" . -}}
{{- block "styles" . -}}{{- end -}}
</head>
<body>
@@ -22,23 +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" . -}}
<footer>Silence is golden.</footer>
{{- end -}}
- {{- partial "base-footer.html" . -}}
</main>
- </column-middle>
+ {{- block "footer" . -}}
+ {{- partial "footer.html" . -}}
+ {{- end -}}
+ </column-base>
- <column-right>
+ <column-base position="right">
{{- block "right" . -}}
<footer>Silence is golden.</footer>
{{- end -}}
- </column-right>
+ </column-base>
</body>
</html>
+{{- end -}}