From 2fd22e30ce176d8d8a641fd371ad1623b082eaaf Mon Sep 17 00:00:00 2001 From: jaseg Date: Fri, 6 Oct 2023 14:35:32 +0200 Subject: template: Make projects sort by date --- themes/conspiracy/layouts/partials/card.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'themes/conspiracy/layouts/partials/card.html') diff --git a/themes/conspiracy/layouts/partials/card.html b/themes/conspiracy/layouts/partials/card.html index 65ea2e7..d0d94c3 100644 --- a/themes/conspiracy/layouts/partials/card.html +++ b/themes/conspiracy/layouts/partials/card.html @@ -1,6 +1,6 @@
{{- if .Title }}

{{ .Title }}

{{- end }} - {{- if .Date }}{{ .Date.Format "2006-01-02" }}{{- end }} + {{- if and .Date (not (isset (index .Ancestors 0).Params "hide_date")) }}{{ .Date.Format "2006-01-02" }}{{- end }}
{{ .Summary | safeHTML }} -- cgit