diff options
Diffstat (limited to 'themes/ymherklotz/layouts/_default/news.html')
-rw-r--r-- | themes/ymherklotz/layouts/_default/news.html | 22 |
1 files changed, 22 insertions, 0 deletions
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 }} |