Import theme
This commit is contained in:
parent
51769fa6be
commit
c59ffbfeee
127 changed files with 13611 additions and 1 deletions
13
layouts/partials/taxonomy/template.html
Normal file
13
layouts/partials/taxonomy/template.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{{- $linkClass := .linkClass -}}
|
||||
{{- $linkBase := .linkBase -}}
|
||||
|
||||
|
||||
<span>
|
||||
{{- range $index, $el := .items -}}
|
||||
<!-- Replace certain special characters with their URL encoded counterparts -->
|
||||
{{- $item := replace . "#" "%23" -}}
|
||||
{{- $item = replace $item "." "%2e" -}}
|
||||
{{- $link := ( printf "%s/%s/" $linkBase ( $item | urlize ) ) | relLangURL -}}
|
||||
<a class="{{ $linkClass }}" href="{{ $link }}">{{- . -}}</a>
|
||||
{{- end -}}
|
||||
</span>
|
||||
Loading…
Add table
Add a link
Reference in a new issue