about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-01-23 18:06:04 -0800
committerFranck Cuny <franck@fcuny.net>2022-01-23 18:06:04 -0800
commit0fb74e0783335e54fa682a4b254c5b73d9c19df1 (patch)
tree56d1abc61942d66faffd5b43985d31c3ce7a3fbe /users/fcuny
parentcss: change style for tables (diff)
downloadworld-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.html10
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>