forked from Bunteshaus/bunteshaus.de
small fixes
This commit is contained in:
parent
9322ea68b7
commit
ebc35f6d7f
|
@ -4,6 +4,9 @@
|
|||
|
||||
{{ $featured := where (where (where $all ".Params.featured" "=" true) "Type" "in" .Site.Params.searchSections) ".Params.Lastmod" "gt" (now.AddDate 0 0 $days) }}
|
||||
|
||||
{{ if eq hugo.Environment "development" }}
|
||||
devel
|
||||
{{ end }}
|
||||
|
||||
{{ $featured = $all | intersect $featured }}
|
||||
{{ $posts := $all | complement $featured }}
|
||||
|
@ -15,7 +18,6 @@
|
|||
{{ if i18n $feat }}
|
||||
{{ $feat = i18n $feat }}
|
||||
{{ end }}
|
||||
|
||||
{{ if ne .Content "" }}
|
||||
{{ partial "snippets/content" (dict "content" .Content) }}
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user