blogamore/layouts/knowhow/list.html

22 lines
No EOL
753 B
HTML

{{ define "main" }}
{{ range .Paginator.Pages.ByTitle }}
<article class="blog-post">
<h3 class="blog-post-title_ mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
<!--p class="blog-post-meta">{{ partial "metadata.html" . }}</p-->
<p>{{ .Summary }}</p>
</article>
{{ end }}
{{ template "partials/pagination.html" . }}
{{ end }}
{{ define "sidebar" }}
<div class="position-sticky">
{{ $skillIdent := .Site.Params.KnowHow.Skills | default "skills" }}
{{ $skills := (index $.Site.Taxonomies $skillIdent)}}
{{ if $skills }}
{{- partial "widget/header.html" (dict "title" "Kenntnisse") -}}
{{- partial "widget/taglist.html" (dict "ident" $skillIdent "tax" $skills) -}}
{{ end }}
</div>
{{ end }}