Fix guest art appearing on year pages
This commit is contained in:
parent
42a9fa056d
commit
8eddd54022
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
<div class="gutter-sizer"></div>
|
<div class="gutter-sizer"></div>
|
||||||
|
|
||||||
{{ range (where .Site.RegularPages "Type" "art") }}
|
{{ range (where .Site.RegularPages "Type" "art") }}
|
||||||
{{ if eq (.Date.Format "2006") $.Title }}
|
{{ if and (eq (.Date.Format "2006") $.Title) (not .Params.guest) }}
|
||||||
{{ partial "render-art" . }}
|
{{ partial "render-art" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue