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) }}
|
{{ $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 }}
|
{{ $featured = $all | intersect $featured }}
|
||||||
{{ $posts := $all | complement $featured }}
|
{{ $posts := $all | complement $featured }}
|
||||||
|
@ -15,7 +18,6 @@
|
||||||
{{ if i18n $feat }}
|
{{ if i18n $feat }}
|
||||||
{{ $feat = i18n $feat }}
|
{{ $feat = i18n $feat }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if ne .Content "" }}
|
{{ if ne .Content "" }}
|
||||||
{{ partial "snippets/content" (dict "content" .Content) }}
|
{{ partial "snippets/content" (dict "content" .Content) }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user