chore: stop using the table of contents

This commit is contained in:
2025-08-04 10:28:02 +01:00
parent f2d3437701
commit 0fe5f2ef50
2 changed files with 14 additions and 26 deletions
+14 -20
View File
@@ -5,25 +5,19 @@
{{ end }}
{{ define "main" }}
<div id="container">
<div>
{{ partial "breadcrumb.html" . }}
<section id="metadata">
<h1>{{ .Title }}</h1>
<div>
<span>{{ readFile "assets/icons/calendar.svg" | safeHTML }} {{ .Date.Format .Site.Params.dateFormat }}</span>
<span>{{ readFile "assets/icons/clock.svg" | safeHTML }} {{ printf "%d minute(s) read" .ReadingTime }}</span>
</div>
</section>
<section id="content">
<div>
{{ .Content }}
</div>
</section>
</div>
{{ partial "breadcrumb.html" . }}
{{ partial "table-of-contents.html" . }}
</div>
<section id="metadata">
<h1>{{ .Title }}</h1>
<div>
<span>{{ readFile "assets/icons/calendar.svg" | safeHTML }} {{ .Date.Format .Site.Params.dateFormat }}</span>
<span>{{ readFile "assets/icons/clock.svg" | safeHTML }} {{ printf "%d minute(s) read" .ReadingTime }}</span>
</div>
</section>
<section id="content">
<div>
{{ .Content }}
</div>
</section>
{{ end }}