From 940af50d96e9a7916674d237dec53738ab776103 Mon Sep 17 00:00:00 2001 From: Alexander Neonxp Kiryukhin Date: Thu, 2 Jan 2025 23:16:38 +0300 Subject: Auto-commit 2025-01-02 --- layouts/_default/list.gmi | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 layouts/_default/list.gmi (limited to 'layouts/_default/list.gmi') diff --git a/layouts/_default/list.gmi b/layouts/_default/list.gmi deleted file mode 100644 index cbdba50..0000000 --- a/layouts/_default/list.gmi +++ /dev/null @@ -1,11 +0,0 @@ -# {{ .Title }} - -{{ $content := .RawContent -}} - -{{ $content := $content | replaceRE `\[(.+?)\]\((.+?)\)` "\n=> $2 $1\n" -}} - -{{ $content }} - -{{ range .Pages.ByPublishDate.Reverse }} -=> {{ .RelPermalink | replaceRE `index.gmi` `` }}{{if .Date }} {{ .Date.Format "2006-01-02" }}{{ end }} {{ .Title }} -{{ end }} \ No newline at end of file -- cgit v1.2.3