Restyle list page headers
turns out `display-5` isn't actually a thing!
This commit is contained in:
parent
60816c9b65
commit
53606571f6
2 changed files with 19 additions and 12 deletions
|
@ -7,15 +7,19 @@
|
|||
<div class="mb-3 image header-image" data-image='{{ .Scratch.Get "image" }}'></div>
|
||||
{{ end }}{{ end }}
|
||||
{{ partial "breadcrumbs/index.html" . }}
|
||||
<h1 class="display-5">{{ .Title }}</h1>
|
||||
<h1 class="display-4">{{ .Title }}</h1>
|
||||
<h5 class="my-3">{{ partial "subtitle.html" . }}</h5>
|
||||
<p>{{ partial "content-details.html" . }}</p>
|
||||
<hr />
|
||||
<div class="content mt-3">
|
||||
{{ if ne .Kind "section" }}
|
||||
<p>{{ partial "content-details.html" . }}</p>
|
||||
{{ end }}
|
||||
{{ if .Content }}
|
||||
<hr />
|
||||
<div class="content mt-3">
|
||||
{{ if .TableOfContents }}
|
||||
<div class="float-lg-right ml-lg-3 mb-2 bg-light p-3">
|
||||
{{ .TableOfContents }}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
{{ define "main" }}
|
||||
<div id="main">
|
||||
<div class="container">
|
||||
<h1 class="display-4">{{ .Title }}</h1>
|
||||
{{ partial "content.html" . }}
|
||||
{{ if .Content }}
|
||||
<hr />
|
||||
{{ end }}
|
||||
{{ range .Data.Pages.GroupByDate "2006-01" }}
|
||||
{{ $month := print .Key "-01" }}
|
||||
{{ if (index .Pages 0).Date.IsZero }}
|
||||
|
|
Loading…
Reference in a new issue