diff options
-rw-r--r-- | themes/ymherklotz/.gitignore | 1 | ||||
-rw-r--r-- | themes/ymherklotz/layouts/_default/news.html | 22 |
2 files changed, 22 insertions, 1 deletions
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" }} +<main> + <div class="container"> + <div class="left flex"> + </div> + <div class="center flex"> + <article class="content"> + <h1>News</h1> + <table class="news"> + <tbody> + {{ range $.Site.Data.news.news }} + <tr><td class="news-date">{{ .date }}</td><td>{{ safeHTML .event }}</td></tr> + {{ end }} + </tbody> + </table> + </article> + </div> + <div class="right flex"> + </div> + </div> +</main> +{{ end }} |