Refactor exps into vars
This commit is contained in:
@@ -91,7 +91,9 @@
|
|||||||
<updated>{{ $lastmod }}</updated>
|
<updated>{{ $lastmod }}</updated>
|
||||||
|
|
||||||
{{ range $subpages }}
|
{{ range $subpages }}
|
||||||
{{ if not (.Param "paige.exclude_feeds") }}
|
{{ $include := not (.Param "paige.exclude_feeds") }}
|
||||||
|
|
||||||
|
{{ if $include }}
|
||||||
<entry>
|
<entry>
|
||||||
{{ $content := .Content }}
|
{{ $content := .Content }}
|
||||||
{{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }}
|
{{ $external := and .Params.link (not (.Param "paige.feeds.disable_link")) | not | not }}
|
||||||
|
@@ -79,7 +79,9 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ range $subpages }}
|
{{ range $subpages }}
|
||||||
{{ if not (.Param "paige.exclude_feeds") }}
|
{{ $include := not (.Param "paige.exclude_feeds") }}
|
||||||
|
|
||||||
|
{{ if $include }}
|
||||||
<item>
|
<item>
|
||||||
{{ $author := "" }}
|
{{ $author := "" }}
|
||||||
{{ $authors := partial "paige/func-authors.html" . }}
|
{{ $authors := partial "paige/func-authors.html" . }}
|
||||||
|
Reference in New Issue
Block a user