aboutsummaryrefslogtreecommitdiff
path: root/layouts/news/list.html
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.html
parent25cfa83501cf9b0a1f79d7d94af13b0866c33aa7 (diff)
downloadwebsite-08c5bd21fa02e1b30fe2e4c194d9c615a4daf2c6.tar.gz
website: switch to hugo
Diffstat (limited to 'layouts/news/list.html')
-rw-r--r--layouts/news/list.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/news/list.html b/layouts/news/list.html
new file mode 100644
index 0000000..67eb4fb
--- /dev/null
+++ b/layouts/news/list.html
@@ -0,0 +1,7 @@
+{{define "main"}}
+<h1>News Index</h1>
+{{ range .Pages }}
+<h2><a href="{{.Permalink}}">{{.Date.Format "Jan 02, 2006"}}</a></h2>
+<p>{{ .Content }}</p>
+{{ end }}
+{{ end }}