Rename guid to id
This commit is contained in:
		| @@ -99,7 +99,7 @@ | ||||
|                     {{ $authors := partial "paige/func-authors.html" $subpage }} | ||||
|                     {{ $content := partial "paige/func-content.html" $subpage }} | ||||
|                     {{ $external := and $subpage.Params.link (not ($subpage.Param "paige.feeds.disable_link")) | not | not }} | ||||
|                     {{ $guid := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host ($subpage.PublishDate.Format "2006-01-02") (cond ($subpage.Params.id | not) $subpage.RelPermalink $subpage.Params.id) }} | ||||
|                     {{ $id := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host ($subpage.PublishDate.Format "2006-01-02") (cond ($subpage.Params.id | not) $subpage.RelPermalink $subpage.Params.id) }} | ||||
|                     {{ $published := $subpage.PublishDate.Format $date }} | ||||
|                     {{ $title := $subpage.Title | markdownify | plainify | htmlUnescape }} | ||||
|  | ||||
| @@ -139,7 +139,7 @@ | ||||
|                         <description><![CDATA[{{ . }}]]></description> | ||||
|                     {{ end }} | ||||
|  | ||||
|                     {{ with $guid }} | ||||
|                     {{ with $id }} | ||||
|                         <guid isPermaLink="false">{{ . }}</guid> | ||||
|                     {{ end }} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user