github.com/e154/smart-home@v0.17.2-0.20240311175135-e530a6e5cd45/doc/themes/docsy/layouts/partials/print/page-heading.html (about)

     1  {{/* Use the title and description of the first page to begin the document */}}
     2  
     3  {{ $tpl := printf "print/page-heading-%s.html" .Page.Type }}
     4  {{ if templates.Exists (printf "partials/%s" $tpl) }}
     5    {{ partial $tpl . }}
     6  {{ else -}}
     7  <h1 class="title">{{ .Title }}</h1>
     8  {{ with .Page.Params.description }}<div class="lead">{{ . | markdownify }}</div>{{ end }}
     9  {{ end }}