diff options
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/index.html | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ba1658f..ace076a 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -3,9 +3,7 @@ {{ partial "head.html" . }} <body> {{ partial "header.html" . }} - <content> {{ block "main" . }}{{ end }} - </content> {{ partial "footer.html" . }} </body> </html> diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7c58c1a..3ade9a9 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,7 +2,7 @@ <nav> <p><a href="/" rel="noreferrer">Return to homepage</a></p> </nav> -<content> +<main> {{ .Content }} -</content> +</main> {{ end }} diff --git a/layouts/index.html b/layouts/index.html index 38c3c81..af4a15a 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,4 +1,5 @@ {{ define "main" }} +<main> <h1>{{ .Site.Params.indexTitle }}</h1> <p>{{ .Site.Params.indexIntro }}</p> <h2>Navigation Links</h2> @@ -11,4 +12,5 @@ </nav> <h2>Journal Entries</h2> {{ partial "metadata.html" . }} +</main> {{ end }} |