diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 740f6e8a..76ad97fa 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -4,7 +4,10 @@ {{ $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 }} {{ $news := "news" }} @@ -15,7 +18,6 @@ {{ if i18n $feat }} {{ $feat = i18n $feat }} {{ end }} - {{ if ne .Content "" }} {{ partial "snippets/content" (dict "content" .Content) }} {{ end }}