Apply some bootstrap styling

This commit is contained in:
ItsDrike 2021-08-25 11:53:41 +02:00
parent a82ab80745
commit 71fc71e30a
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
4 changed files with 48 additions and 33 deletions

View file

@ -1,14 +1,21 @@
<h1>{{ .Title }}</h1>
<h1 class="display-4">{{ .Title }}</h1>
{{ if .Params.subtitle }}
<h5 class="my-3">{{ markdownify .Params.subtitle | emojify }}</h5>
{{ end }}
{{ if .IsPage }}
<p>{{ partial "content-details.html" . }}</p>
{{ end }}
<hr>
<div class="content">
{{ if .TableOfContents }}
<div class="content">
{{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }}
</div>
{{ if .Content }}
<hr>
<div class="content mt-3">
{{ if .TableOfContents }}
<div class="float-1g-right ml-lg-3 mb-3 p-3">
{{ .TableOfContents }}
</div>
{{ end }}
{{ .Content }}
</div>
{{ end }}