Stop guest art from appearing in RSS feeds
This commit is contained in:
parent
e0dc264299
commit
371fa28c73
1 changed files with 4 additions and 1 deletions
|
@ -48,7 +48,10 @@
|
|||
{{- end -}}
|
||||
|
||||
{{ range $pages }}
|
||||
{{ if not (.Param "excludefeed") }}
|
||||
{{ $isguest := (in .File.Dir "art/guest") }}
|
||||
{{ $exclude := (.Param "excludefeed") }}
|
||||
|
||||
{{ if and (not $isguest) (not $exclude) }}
|
||||
<item>
|
||||
{{ with .Title }}
|
||||
<title>{{ . }}</title>
|
||||
|
|
Loading…
Add table
Reference in a new issue