blogamore/layouts/knowhow/list.html

22 lines
754 B
HTML
Raw Permalink Normal View History

{{ define "main" }}
{{ range .Paginator.Pages.ByTitle }}
<article class="blog-post">
<h3 class="blog-post-title_ mb-1"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
2022-11-28 22:36:47 +01:00
<!--p class="blog-post-meta">{{ partial "meta/data.html" . }}</p-->
<p>{{ .Summary }}</p>
</article>
{{ end }}
{{ template "partials/pagination.html" . }}
{{ end }}
2022-11-28 19:58:24 +01:00
{{ 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 }}