aboutsummaryrefslogtreecommitdiff
path: root/layouts/_default/list.txt
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.txt')
-rw-r--r--layouts/_default/list.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/layouts/_default/list.txt b/layouts/_default/list.txt
index 0d9cee8..c129a19 100644
--- a/layouts/_default/list.txt
+++ b/layouts/_default/list.txt
@@ -1,9 +1,7 @@
-# {{ .Title }}
-
-{{ $content := .RawContent -}}
-
-{{ $content }}
+{{ .Title }}
+================================================================================
+{{ partial "content.txt" . }}
{{ range .Pages.ByPublishDate.Reverse }}
-=> {{ .RelPermalink | replaceRE `index.txt` `` }}{{if .Date }} {{ .Date.Format "2006-01-02" }}{{ end }} {{ .Title }}
+* {{if .Date }} {{ .Date.Format "2006-01-02" }}{{ end }}{{- .Title }} ({{ .RelPermalink | replaceRE `text/index.txt` `` }})
{{ end }} \ No newline at end of file