Rename titleclass to title_class

This commit is contained in:
Will Faught
2023-01-22 16:25:23 -08:00
parent 7319719c33
commit e1276cfd67
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{{ if .Title }}
{{ $class := .Params.paige.titleclass | default "display-5 fw-bold text-center" }}
{{ $class := .Params.paige.title_class | default "display-5 fw-bold text-center" }}
{{ $title := .Title | markdownify }}
<h1 class="{{ $class }}">{{ if .Params.link }}<a href="{{ .Params.link }}">{{ $title }}</a>{{ else }}{{ $title }}{{ end }}{{ if .Scratch.Get "paige_show_full_pages" }}<a aria-label="Link to this section" class="paige-header-link" href="{{ .RelPermalink }}">#</a>{{ end }}</h1>