diff options
Diffstat (limited to 'layouts/index.twtxt.txt')
-rw-r--r-- | layouts/index.twtxt.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/index.twtxt.txt b/layouts/index.twtxt.txt new file mode 100644 index 0000000..b80f4aa --- /dev/null +++ b/layouts/index.twtxt.txt @@ -0,0 +1,6 @@ +{{- $pages := where .Site.RegularPages "Type" "in" .Site.Params.mainSections -}} +{{- $notHidden := where .Site.RegularPages "Params.hidden" "!=" true -}} +{{- $filtered := ($pages | intersect $notHidden) -}} +{{- range $pages -}} +{{.Date.Format "2006-01-02T15:04:05Z07:00"}}{{"\t"}}{{ .Title }}{{ "\n" }} +{{- end -}}
\ No newline at end of file |