aboutsummaryrefslogtreecommitdiff
path: root/layouts/news/list.txt
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-31 01:13:15 +0300
committerCem Keylan <cem@ckyln.com>2021-08-31 01:13:15 +0300
commit08c5bd21fa02e1b30fe2e4c194d9c615a4daf2c6 (patch)
treeb471d65a2ad20665dc0e0e8f91aa67ac4c0949b1 /layouts/news/list.txt
parent25cfa83501cf9b0a1f79d7d94af13b0866c33aa7 (diff)
downloadwebsite-08c5bd21fa02e1b30fe2e4c194d9c615a4daf2c6.tar.gz
website: switch to hugo
Diffstat (limited to 'layouts/news/list.txt')
-rw-r--r--layouts/news/list.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/layouts/news/list.txt b/layouts/news/list.txt
new file mode 100644
index 0000000..ab0a732
--- /dev/null
+++ b/layouts/news/list.txt
@@ -0,0 +1,12 @@
+{{define "main"}}
+NEWS INDEX
+==========
+
+{{ range .Pages }}
+{{.Date.Format "Jan 02, 2006"}}
+-------------------------------
+
+{{ .RawContent }}
+
+{{ end }}
+{{ end }}