From ef736304163e0952735a8620a48564c288864a94 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Sun, 22 Dec 2024 02:13:20 +0300 Subject: Auto-commit 2024-12-22 --- layouts/_default/list.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'layouts/_default/list.txt') diff --git a/layouts/_default/list.txt b/layouts/_default/list.txt index 3dbd917..0d9cee8 100644 --- a/layouts/_default/list.txt +++ b/layouts/_default/list.txt @@ -1,3 +1,9 @@ +# {{ .Title }} + +{{ $content := .RawContent -}} + +{{ $content }} + {{ range .Pages.ByPublishDate.Reverse }} -{{ .Date.Format "2006-01-02" }} {{ .Title }} {{ with .OutputFormats.Get "txt" -}} {{ .RelPermalink }}{{ end }} +=> {{ .RelPermalink | replaceRE `index.txt` `` }}{{if .Date }} {{ .Date.Format "2006-01-02" }}{{ end }} {{ .Title }} {{ end }} \ No newline at end of file -- cgit v1.2.3