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.

14 lines
301 B
HTML

{{ $class := "display-5" }}
{{ if .IsHome }}
{{ $class = "display-1" }}
{{ end }}
{{ if .Title }}
<h1 class="{{ $class }} fw-bold text-center">
{{ with .Params.link }}
<a href="{{ . }}">{{ .Title | markdownify }}</a>
{{ else }}
{{ .Title | markdownify }}
{{ end }}
</h1>
{{ end }}