diff options
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 }} |