Fix page ID to use permalink
This commit is contained in:
@@ -144,7 +144,7 @@
|
|||||||
{{ else if not .Date.IsZero }}
|
{{ else if not .Date.IsZero }}
|
||||||
{{ $id = printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.Date.Format "2006-01-02") (.Date.Format $format) }}
|
{{ $id = printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.Date.Format "2006-01-02") (.Date.Format $format) }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ $id = .RelPermalink }}
|
{{ $id = .Permalink }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ with index $ids $id }}
|
{{ with index $ids $id }}
|
||||||
|
Reference in New Issue
Block a user