hugo-theme-relearn/layouts/partials/initial.html

6 lines
No EOL
251 B
HTML

{{- if not .Title }}
{{- $title := .Site.Title }}
{{- partial "heading-pre.html" . }}<h1 id="{{ $title | anchorize }}">{{ $title }}</h1>{{ partial "heading-post.html" . }}
{{- end }}
{{- "layouts/partials/initial.md" | readFile | .RenderString }}