diff options
author | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-04 00:00:00 +0000 |
---|---|---|
committer | Nicholas Johnson <nick@nicksphere.ch> | 2022-08-04 00:00:00 +0000 |
commit | f7d9201453dc32f166d1379fa19dcea52a82c0a7ecf1ec9ad9a484f26a45df0a (patch) | |
tree | 518a642655fe2786ce2e415f39f73be8ea5dbb225e4d2b934bb955ee435c645d /layouts/_default | |
parent | 9e44736af598f1224528dd10cceff309a2eb4b7cc9a34d2830245cb3aeb22bcc (diff) | |
download | hugo-theme-journal-f7d9201453dc32f166d1379fa19dcea52a82c0a7ecf1ec9ad9a484f26a45df0a.tar.gz hugo-theme-journal-f7d9201453dc32f166d1379fa19dcea52a82c0a7ecf1ec9ad9a484f26a45df0a.zip |
Replace <content> tag with proper <main> tag and fix unintended tag
nesting
Diffstat (limited to 'layouts/_default')
-rw-r--r-- | layouts/_default/baseof.html | 2 | ||||
-rw-r--r-- | layouts/_default/single.html | 4 |
2 files changed, 2 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 }} |