20 lines
599 B
HTML
20 lines
599 B
HTML
{{ if isset .Site.Taxonomies "categoriesibis" }}
|
|
{{ if not (eq (len .Site.Taxonomies.categoriesibis) 0) }}
|
|
<h3>
|
|
{{ $current_path := .RelPermalink}}
|
|
{{ range $name, $items := .Site.Taxonomies.categoriesibis }}
|
|
{{ $pagepath := $name | urlize | lower | printf "%s%s" "/categoriesibis/"}}
|
|
|
|
{{ $p := $.Site.GetPage $pagepath}}
|
|
{{ $path := $p.RelPermalink }}
|
|
|
|
{{ if eq $current_path $path }}
|
|
{{ $p.Title }}
|
|
{{ else }}
|
|
<a href="{{ $path }}">{{ $p.Title }}</a>
|
|
{{ end }}
|
|
{{ end }}
|
|
</h3>
|
|
{{ end }}
|
|
{{ end }}
|