From 741fd7390c82e11971d13aaa4e39c42e96aec904 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Sat, 1 Jul 2023 20:47:58 +0100 Subject: Add news.html layout --- themes/ymherklotz/.gitignore | 1 - themes/ymherklotz/layouts/_default/news.html | 22 ++++++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) delete mode 100644 themes/ymherklotz/.gitignore create mode 100644 themes/ymherklotz/layouts/_default/news.html diff --git a/themes/ymherklotz/.gitignore b/themes/ymherklotz/.gitignore deleted file mode 100644 index e43b0f9..0000000 --- a/themes/ymherklotz/.gitignore +++ /dev/null @@ -1 +0,0 @@ -.DS_Store diff --git a/themes/ymherklotz/layouts/_default/news.html b/themes/ymherklotz/layouts/_default/news.html new file mode 100644 index 0000000..b39f319 --- /dev/null +++ b/themes/ymherklotz/layouts/_default/news.html @@ -0,0 +1,22 @@ +{{ define "main" }} +
+
+
+
+
+
+

News

+ + + {{ range $.Site.Data.news.news }} + + {{ end }} + +
{{ .date }}{{ safeHTML .event }}
+
+
+
+
+
+
+{{ end }} -- cgit