diff options
author | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:06:04 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2022-01-23 18:06:04 -0800 |
commit | 5e8862e4b89a540ae35d359b55ee5385e7ddb8a2 (patch) | |
tree | d0d29f98c8f1533d56ea4582c213783a478c76ca | |
parent | css: change style for tables (diff) | |
download | fcuny.net-5e8862e4b89a540ae35d359b55ee5385e7ddb8a2.tar.gz |
layout: drop the div 'main'
The div 'main' is not needed, we are creating an element named 'named' in the main block.
-rw-r--r-- | layouts/_default/baseof.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3fd7011..0c72fb1 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -2,11 +2,9 @@ <html lang="en"> {{ partial "head.html" . }} <body> - <div class="main"> - {{- partial "header.html" . -}} - <main> - {{ block "main" . }}{{ end }} - </main> - </div> + {{- partial "header.html" . -}} + <main> + {{ block "main" . }}{{ end }} + </main> </body> </html> |