mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
chore: stop using the table of contents
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
main #container {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(15rem, 20rem);
|
||||
column-gap: 2rem;
|
||||
}
|
||||
|
||||
main #metadata {
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
@@ -5,25 +5,19 @@
|
||||
{{ end }}
|
||||
|
||||
{{ define "main" }}
|
||||
<div id="container">
|
||||
{{ partial "breadcrumb.html" . }}
|
||||
|
||||
<section id="metadata">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<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>
|
||||
<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>
|
||||
|
||||
{{ partial "table-of-contents.html" . }}
|
||||
</div>
|
||||
<section id="content">
|
||||
<div>
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</section>
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user