hook_test/layouts/section/docs.html

18 lines
529 B
HTML
Raw Permalink Normal View History

2021-12-31 12:44:26 +01:00
{{- define "main" -}}
{{ partial "page_header.html" . }}
<div class="universal-wrapper">
{{ with .Content }}
<div class="article-style" itemprop="articleBody">{{ . }}</div>
{{ end }}
<ul class="list-unstyled">
{{ if gt (len .Sections) 0}}
{{ range .Sections }}
<li class="p-4 shadow-sm mb-4 card rounded-0"><h5><a class="stretched-link" href="{{.RelPermalink}}">{{.LinkTitle}}</a></h5> {{with .Params.summary}}<p>{{. | plainify | emojify}}</p>{{end}}</li>
{{end}}
{{end}}
</ul>
</div>
{{- end -}}