Change header link hover to not affect layout

This commit is contained in:
Will Faught
2022-12-30 18:55:06 -08:00
parent a87d43d405
commit 5e856a5b6b
3 changed files with 3 additions and 2 deletions

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="paige-header-link small" 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" href="{{ .RelPermalink }}">#</a>{{ end }}</h1>
{{ end }}