Rename paige_title_content.html to paige_title.html

This commit is contained in:
Will Faught
2022-12-11 21:56:48 -08:00
parent 083b492f22
commit 94014a87da
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
{{ $title := .Title }}
{{ $class := "display-5" }}
{{ if .IsHome }}
{{ $class = "display-1" }}
{{ if not $title }}
{{ $title = .Site.Title }}
{{ end }}
{{ end }}
{{ if $title }}
<h1 class="{{ $class }} fw-bold text-center">
{{ if .Params.link }}
<a href="{{ .Params.link }}">{{ $title | markdownify }}</a>
{{ else }}
{{ $title | markdownify }}
{{ end }}
</h1>
{{ end }}