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

6 lines
264 B
HTML
Raw Normal View History

{{- if or .IsHome (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 }}