aboutsummaryrefslogtreecommitdiff
path: root/users/fcuny/notes/layouts/_default
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
commitfc246e1eef4e343f567c6eaf6f2f983c7fb77654 (patch)
tree23348d516fc717b647ac7b2d805330f2fd9f40fc /users/fcuny/notes/layouts/_default
parentcss: change style for tables (diff)
downloadinfra-fc246e1eef4e343f567c6eaf6f2f983c7fb77654.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 'users/fcuny/notes/layouts/_default')
-rw-r--r--users/fcuny/notes/layouts/_default/baseof.html10
1 files changed, 4 insertions, 6 deletions
diff --git a/users/fcuny/notes/layouts/_default/baseof.html b/users/fcuny/notes/layouts/_default/baseof.html
index 3fd7011..0c72fb1 100644
--- a/users/fcuny/notes/layouts/_default/baseof.html
+++ b/users/fcuny/notes/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>