hugo-theme-relearn/layouts/partials/initial.html
2024-04-07 21:41:06 +02:00

7 lines
No EOL
256 B
HTML

{{- $title := partial "pageHelper/title.hugo" (dict "page" .) }}
{{- if not $title }}
{{- $title := site.Title }}
<h1 id="{{ $title | plainify | anchorize }}">{{ $title }}</h1>
{{- end }}
{{- "layouts/partials/initial.md" | readFile | .RenderString }}