#122, Fix post taxonomy list links (include base url)

soper-book
Alex Shpak 2020-01-13 18:06:09 +01:00
parent ec53e2733f
commit b9f45270a0
5 changed files with 8 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"Target":"book.min.2f0632dc31655f852f191d7c354e584af6f6ca239af70afdd117bbe5950815b2.css","MediaType":"text/css","Data":{"Integrity":"sha256-LwYy3DFlX4UvGR18NU5YSvb2yiOa9wr90Re75ZUIFbI="}}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{"Target":"book.min.2f0632dc31655f852f191d7c354e584af6f6ca239af70afdd117bbe5950815b2.css","MediaType":"text/css","Data":{"Integrity":"sha256-LwYy3DFlX4UvGR18NU5YSvb2yiOa9wr90Re75ZUIFbI="}}

View File

@ -7,8 +7,10 @@
{{ range $term, $_ := .Site.Taxonomies }}
{{ with $list := index $.Params $term }}
{{ range $n, $single := $list }}{{ if $n }}, {{ end -}}
<a href="/{{$term}}/{{$single}}/">{{ $single }}</a>
{{ range $n, $single := $list }}{{ if $n }}, {{ end }}
{{ with $.Site.GetPage (printf "/%s/%s" $term $single) }}
<a href="{{ . }}">{{ $single }}</a>
{{- end }}
{{- end }}
<br />
{{ end }}