aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/single.txt
diff options
context:
space:
mode:
authorAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-17 20:37:32 +0300
committerAlexander Neonxp Kiryukhin <i@neonxp.ru>2024-12-17 20:37:32 +0300
commitc0073e38e6ee3753f6cece23f60c608162a06918 (patch)
treeda60ecf78e390f0b52e7857a2a0d527c274a700a /layouts/_default/single.txt
parenta7d25c3f329ba0c9906acd486a1c12707c617f2d (diff)
Auto-commit 2024-12-17
Diffstat (limited to 'layouts/_default/single.txt')
-rw-r--r--layouts/_default/single.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/_default/single.txt b/layouts/_default/single.txt
new file mode 100644
index 0000000..51f0239
--- /dev/null
+++ b/layouts/_default/single.txt
@@ -0,0 +1,8 @@
+{{ .Title }}
+
+{{ $content := .RawContent -}}
+{{ $content := $content | replaceRE "(?s:< !--more-- >)" "" -}}
+{{ $content }}
+
+---
+NeonXP at {{ .Date.Format "2006-01-02" }}