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

6 lines
No EOL
246 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" . | .RenderString }}