bunteshaus.de/themes/buha/layouts/links/list.html
2022-06-17 17:45:53 +02:00

32 lines
641 B
HTML

{{ define "intro" }}
{{ if ne .Content "" }}
{{ partial "snippets/content" (dict "content" .Content) }}
{{ end }}
{{ end }}
{{ define "content" }}
{{ $title := .Title }}
{{ $p := .Pages }}
{{ $paginator := $p }}
{{ if $p }}
<div class="links_wrapper">
{{ range $p }}
<div class="links" style="display: flex; flex-direction: column;">
<a href="{{ .Params.Link }}" class="t">
{{ .Title }}
</a>
<a href="{{ .Params.Link }}" class="p">
{{ .Params.Link }}
</a>
<a href="{{ .Params.Link }}" class="s">
{{ .Content }}
</a>
</div>
{{ end }}
</div>
{{ end }}
{{ end }}