mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy.org.git
synced 2024-09-19 09:57:52 +00:00
10 lines
367 B
HTML
10 lines
367 B
HTML
|
{{/* Use the title and description of the first page to begin the document */}}
|
||
|
|
||
|
{{ $tpl := printf "print/page-heading-%s.html" .Page.Type }}
|
||
|
{{ if templates.Exists (printf "partials/%s" $tpl) }}
|
||
|
{{ partial $tpl . }}
|
||
|
{{ else -}}
|
||
|
<h1 class="title">{{ .Title }}</h1>
|
||
|
{{ with .Page.Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
|
||
|
{{ end }}
|