diff options
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/_default/list.gmi | 11 | ||||
-rw-r--r-- | layouts/_default/list.txt | 7 | ||||
-rw-r--r-- | layouts/_default/single.gmi | 11 | ||||
-rw-r--r-- | layouts/_default/single.txt | 5 |
4 files changed, 0 insertions, 34 deletions
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 diff --git a/layouts/_default/list.txt b/layouts/_default/list.txt deleted file mode 100644 index c129a19..0000000 --- a/layouts/_default/list.txt +++ /dev/null @@ -1,7 +0,0 @@ -{{ .Title }} -================================================================================ -{{ partial "content.txt" . }} - -{{ range .Pages.ByPublishDate.Reverse }} -* {{if .Date }} {{ .Date.Format "2006-01-02" }}{{ end }}{{- .Title }} ({{ .RelPermalink | replaceRE `text/index.txt` `` }}) -{{ end }}
\ No newline at end of file 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" }} diff --git a/layouts/_default/single.txt b/layouts/_default/single.txt deleted file mode 100644 index 7a44b8b..0000000 --- a/layouts/_default/single.txt +++ /dev/null @@ -1,5 +0,0 @@ -{{ .Title }} -================================================================================ -{{ partial "content.txt" . }} -================================================================================ -NeonXP at {{ .Date.Format "2006-01-02" }} |