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 | 0fb74e0783335e54fa682a4b254c5b73d9c19df1 (patch) | |
tree | 56d1abc61942d66faffd5b43985d31c3ce7a3fbe /users/fcuny/blog/layouts/_default | |
parent | css: change style for tables (diff) | |
download | world-0fb74e0783335e54fa682a4b254c5b73d9c19df1.tar.gz |
layout: drop the div 'main'
The div 'main' is not needed, we are creating an element named 'named' in the main block.
Diffstat (limited to '')
-rw-r--r-- | users/fcuny/blog/layouts/_default/baseof.html | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/users/fcuny/blog/layouts/_default/baseof.html b/users/fcuny/blog/layouts/_default/baseof.html index 3fd7011..0c72fb1 100644 --- a/users/fcuny/blog/layouts/_default/baseof.html +++ b/users/fcuny/blog/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> |