Skills bei KnowHow mit hinzugefügt
This commit is contained in:
parent
ac8d277899
commit
c461856547
5 changed files with 63 additions and 9 deletions
|
@ -5,4 +5,4 @@
|
|||
<time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
|
||||
<i data-feather="user"></i>
|
||||
{{ .Page.Params.Author }}
|
||||
<span class="badge bg-secondary"><time datetime="{{ $dateTimeMod }}">{{ .Lastmod.Format $dateFormat }}</time>)</span>
|
||||
<span class="badge bg-secondary"><time datetime="{{ $dateTimeMod }}">{{ .Lastmod.Format $dateFormat }}</time></span>
|
||||
|
|
|
@ -1,20 +1,34 @@
|
|||
{{ with .Params.tags }}
|
||||
{{/* TODO Sollte mal aufgeteilt werden*/}}
|
||||
|
||||
{{ $tagsIdent := .Site.Params.Blog.Tags | default "tags" }}
|
||||
{{ with (index .Params $tagsIdent) }}
|
||||
<i data-feather="tag"></i>
|
||||
<i class="bi bi-tag"></i> <!-- TODO: umstellen auf bootstrap-icons??? -->
|
||||
{{ range . }}
|
||||
{{ $href := print (absURL "tags/") (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
|
||||
{{ $href := print (absURL (printf "%s/" $tagsIdent)) (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<i class="mx-2"></i>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
{{ with .Params.categories }}
|
||||
{{ $catIdent := .Site.Params.Blog.Categories | default "categories" }}
|
||||
{{ with (index .Params $catIdent) }}
|
||||
<!-- list -->
|
||||
<i data-feather="award"></i>
|
||||
{{ range . }}
|
||||
{{ $href := print (absURL "categories/") (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href }}">{{ . }}</a>
|
||||
{{ $href := print (absURL (printf "%s/" $catIdent)) (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<i class="mx-2"></i>
|
||||
{{ end }}
|
||||
|
||||
{{ $skillIdent := .Site.Params.KnowHow.Skills | default "skills" }}
|
||||
{{ with (index .Params $skillIdent) }}
|
||||
<!-- list -->
|
||||
<i data-feather="code"></i>
|
||||
{{ range . }}
|
||||
{{ $href := print (absURL (printf "%s/" $skillIdent)) (urlize .) }}
|
||||
<a class="btn btn-sm btn-outline-dark tag-btn" href="{{ $href | relURL }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<i class="mx-2"></i>
|
||||
{{ end }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue