Order classes

This commit is contained in:
Will Faught
2022-12-30 00:44:58 -08:00
parent b4ade808e6
commit 92741185ed
2 changed files with 2 additions and 2 deletions

View File

@@ -1 +1 @@
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}<a class="small paige-header-link" href="#{{ .Anchor | safeURL }}">#</a></h{{ .Level }}>
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ .Text | safeHTML }}<a class="paige-header-link small" href="#{{ .Anchor | safeURL }}">#</a></h{{ .Level }}>

View File

@@ -4,5 +4,5 @@
{{ $class = "display-1" }}
{{ end }}
{{ $title := .Title | markdownify }}
<h1 class="{{ $class }} fw-bold text-center">{{ if .Params.link }}<a href="{{ .Params.link }}">{{ $title }}</a>{{ else }}{{ $title }}{{ end }}{{ if .Scratch.Get "paige_show_full_pages" }}<a class="small paige-header-link" href="{{ .RelPermalink }}">#</a>{{ end }}</h1>
<h1 class="{{ $class }} fw-bold text-center">{{ if .Params.link }}<a href="{{ .Params.link }}">{{ $title }}</a>{{ else }}{{ $title }}{{ end }}{{ if .Scratch.Get "paige_show_full_pages" }}<a class="paige-header-link small" href="{{ .RelPermalink }}">#</a>{{ end }}</h1>
{{ end }}