From 2652c83b637b3da334770fb974fbfa6108a16f19 Mon Sep 17 00:00:00 2001 From: Philipp Schneider <philipp.schneider.1@hu-berlin.de> Date: Tue, 25 Mar 2025 17:09:17 +0100 Subject: [PATCH] Fixe toc --- _layouts/default.html | 24 +++--------------------- 1 file changed, 3 insertions(+), 21 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 57e8459..cb24228 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,29 +7,11 @@ {% include header.html %} - <!DOCTYPE html> - <html lang="{{ page.lang | default: site.lang | default: "en" }}"> - <head> - {% include head.html %} - </head> - <body> - <div class="page-content"> - <div class="wrapper"> - <aside class="toc-sidebar"> - <nav id="toc"></nav> - </aside> - <main class="post-content"> - {{ content }} - </main> - </div> - </div> - {% include footer.html %} - <script src="{{ "/assets/js/toc.js" | relative_url }}"></script> - </body> - </html> - <div class="page-content"> <div class="wrapper"> + <aside class="toc-sidebar"> + <nav id="toc"></nav> + </aside> {{ content }} </div> </div> -- GitLab