summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-02 08:32:16 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-02 08:32:16 +0800
commit947678b19b9c73ccfc1da5024cc92a16dcbf7f45 (patch)
tree5536e0edfebc02e50deb249927299917820c4f9e /layouts
parentForge: just use the iframe (diff)
downloadwebsite-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.tar.gz
website-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.tar.zst
website-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.zip
Add sidebar
Diffstat (limited to 'layouts')
-rw-r--r--layouts/_default/baseof.html16
1 files changed, 12 insertions, 4 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 359e544..33f8136 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -8,10 +8,18 @@
<link rel="stylesheet" href="{{ $style.RelPermalink }}" />
</head>
<body>
- {{ block "main" . }}
- {{ end }}
- {{ block "footer" . }}
- {{ end }}
+ <aside id="sidebar">
+ </aside>
+ <div id="main-and-footer">
+ <main>
+ {{ block "main" . }}
+ {{ end }}
+ </main>
+ <footer>
+ {{ block "footer" . }}
+ {{ end }}
+ </footer>
+ </div>
</body>
</html>