diff options
Diffstat (limited to 'themes/markskitchen/layouts/_default')
-rw-r--r-- | themes/markskitchen/layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | themes/markskitchen/layouts/_default/list.html | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/themes/markskitchen/layouts/_default/baseof.html b/themes/markskitchen/layouts/_default/baseof.html index c4963da..5dc4b24 100644 --- a/themes/markskitchen/layouts/_default/baseof.html +++ b/themes/markskitchen/layouts/_default/baseof.html @@ -1,5 +1,5 @@ <!DOCTYPE html> -<html> +<html lang="en"> {{- partial "head.html" . -}} <body> {{- partial "header.html" . -}} diff --git a/themes/markskitchen/layouts/_default/list.html b/themes/markskitchen/layouts/_default/list.html index 9388e7d..5c745d6 100644 --- a/themes/markskitchen/layouts/_default/list.html +++ b/themes/markskitchen/layouts/_default/list.html @@ -3,6 +3,12 @@ {{ end }} {{ define "main" }} +{{ if .Content }} +<main id="main" class="post"> + <article class="content"> + {{ .Content }} + </article> +{{ else }} <main id="main"> <ul> {{ range .Pages }} @@ -11,5 +17,6 @@ </li> {{ end }} </ul> +{{ end}} </main> {{ end }} |