mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-02 02:10:27 +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 {
|
main #metadata {
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,25 +5,19 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<div id="container">
|
{{ partial "breadcrumb.html" . }}
|
||||||
|
|
||||||
|
<section id="metadata">
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
<div>
|
<div>
|
||||||
{{ partial "breadcrumb.html" . }}
|
<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>
|
||||||
<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>
|
</div>
|
||||||
|
</section>
|
||||||
|
|
||||||
{{ partial "table-of-contents.html" . }}
|
<section id="content">
|
||||||
</div>
|
<div>
|
||||||
|
{{ .Content }}
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user