You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
418 B
HTML
18 lines
418 B
HTML
{{ $title := .Title }}
|
|
{{ $class := "display-5" }}
|
|
{{ if .IsHome }}
|
|
{{ $class = "display-1" }}
|
|
{{ if not $title }}
|
|
{{ $title = .Site.Title }}
|
|
{{ end }}
|
|
{{ end }}
|
|
{{ if and $title (not .Params.paigeshowfullpages) }}
|
|
<h1 class="{{ $class }} fw-bold text-center">
|
|
{{ with .Params.link }}
|
|
<a href="{{ . }}">{{ $title | markdownify }}</a>
|
|
{{ else }}
|
|
{{ $title | markdownify }}
|
|
{{ end }}
|
|
</h1>
|
|
{{ end }}
|