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/single.gmi | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 layouts/_default/single.gmi (limited to 'layouts/_default/single.gmi') diff --git a/layouts/_default/single.gmi b/layouts/_default/single.gmi deleted file mode 100644 index 10d9876..0000000 --- a/layouts/_default/single.gmi +++ /dev/null @@ -1,11 +0,0 @@ -# {{ .Title }} - -{{ $content := .RawContent -}} - -{{ $content := $content | replaceRE "(?s:< !--more-- >)" "" -}} -{{ $content := $content | replaceRE `\[(.+?)\]\((.+?)\)` "\n=> $2 $1\n" -}} - -{{ $content }} - ---- -NeonXP at {{ .Date.Format "2006-01-02" }} -- cgit v1.2.3