From 1bc416d9e454b7ceafd77c037f307eea85c7a322 Mon Sep 17 00:00:00 2001 From: teldra Date: Sun, 10 Apr 2022 02:31:42 +0200 Subject: [PATCH] second batch of restructure, fix --- themes/buha/layouts/index.html | 1 - 1 file changed, 1 deletion(-) diff --git a/themes/buha/layouts/index.html b/themes/buha/layouts/index.html index 95e8794..997dbb9 100644 --- a/themes/buha/layouts/index.html +++ b/themes/buha/layouts/index.html @@ -3,7 +3,6 @@ {{ end }} {{ define "content" }} - {{ time.Format "Monday, Jan 2, 2006" "2015-01-21" }} {{- $all := where (where .Site.RegularPages "Permalink" "!=" .Permalink) "Type" "in" .Site.Params.searchSections }} {{ $days := int (mul (mul (int .Site.Params.featured_expire) 7) -1) }} {{ $featured := where (where (where $all ".Params.featured" "=" true) "Type" "in" .Site.Params.searchSections) ".Params.Lastmod" "gt" (now.AddDate 0 0 $days) }}