Rename paige.feeds.link_to_page to disable_link
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
{{ range $subpage := $subpages }}
|
||||
<entry>
|
||||
{{ $content := .Content }}
|
||||
{{ $external := and .Params.link (not (.Param "paige.feeds.link_to_page")) | not | not }}
|
||||
{{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }}
|
||||
{{ $id := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.PublishDate.Format "2006-01-02") .RelPermalink }}
|
||||
{{ $published := cond (not .PublishDate.IsZero) (.PublishDate.Format $format) "" }}
|
||||
{{ $summary := .Description | markdownify }}
|
||||
|
@@ -93,7 +93,7 @@
|
||||
{{ $author := "" }}
|
||||
{{ $authors := partial "paige/func-authors.html" . }}
|
||||
{{ $description := .Content }}
|
||||
{{ $external := and .Params.link (not (.Param "paige.feeds.link_to_page")) | not | not }}
|
||||
{{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }}
|
||||
{{ $guid := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host (.PublishDate.Format "2006-01-02") (cond (.Params.id | not) .RelPermalink .Params.id) }}
|
||||
{{ $published := .PublishDate.Format $format }}
|
||||
{{ $title := .Title | markdownify | plainify | htmlUnescape }}
|
||||
|
Reference in New Issue
Block a user