hugo-theme-relearn/layouts/partials/initial.html
Sören Weber 9222821974
theme: improve initial page
which hopefully no one ever sees
2023-05-25 22:15:11 +02:00

6 lines
No EOL
244 B
HTML

{{- if or .IsHome (not .Title) }}
{{- $title := .Site.Title }}
{{- partial "heading-pre.html" . }}<h1 id="{{ $title | anchorize }}">{{ $title }}</h1>{{ partial "heading-post.html" . }}
{{- end }}
{{- partial "initial.md" . | markdownify }}