diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-02 08:32:16 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-02 08:32:16 +0800 |
commit | 947678b19b9c73ccfc1da5024cc92a16dcbf7f45 (patch) | |
tree | 5536e0edfebc02e50deb249927299917820c4f9e /layouts | |
parent | Forge: just use the iframe (diff) | |
download | website-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.tar.gz website-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.tar.zst website-947678b19b9c73ccfc1da5024cc92a16dcbf7f45.zip |
Add sidebar
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/baseof.html | 16 |
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> |