.URL → .RelPermalink in post_meta.

This commit is contained in:
tastytea 2020-12-28 22:04:31 +01:00
parent c9c490df51
commit 6bd8d1cb46
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07

View File

@ -22,7 +22,7 @@
{{- $taxo := $.Param .Identifier }}
{{- if $taxo }}
{{ $name := default .Identifier .Name }}
{{ $link := default .Identifier .URL }}
{{ $link := default .Identifier .RelPermalink }}
<span{{ if .Title }} title="{{ .Title }}"{{ end }}>{{ $name }}:</span> &#x5b;
{{- range $taxo }}
{{- $perma := lower (path.Join $link (urlize .)) }}