aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Legler <alex@a3li.li>2016-01-03 16:39:52 +0100
committerAlex Legler <alex@a3li.li>2016-01-03 16:39:52 +0100
commitf98a6b47e70389013e8dac94ce37270d76aeb923 (patch)
tree3566ccec337e9015c1daf0793dc118b45a75e4a8
parentAdd link to full news item list beneath the 3 featured items (diff)
downloadwww-f98a6b47e70389013e8dac94ce37270d76aeb923.tar.gz
www-f98a6b47e70389013e8dac94ce37270d76aeb923.tar.bz2
www-f98a6b47e70389013e8dac94ce37270d76aeb923.zip
Add basic full news item list at /news/
-rw-r--r--news/index.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/news/index.html b/news/index.html
index 22bbd91..094cfbb 100644
--- a/news/index.html
+++ b/news/index.html
@@ -7,4 +7,22 @@ nav2-show: true
meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux News" href="/feeds/news.xml">'
---
-{% include frontpage/news %} \ No newline at end of file
+{% for post in site.posts %}
+<article class="newsitem">
+ <h2 class="stick-top newsitem-bullet">
+ <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span>
+ </h2>
+ <h2 class="stick-top newsitem-headline">
+ <a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small>
+ </h2>
+ <div class="newsitem-content">
+ {{ post.excerpt }}
+ {% if post.teaserlink %}
+ <p>
+ <span class="fa fa-fw fa-chevron-right"></span>
+ <a href="{{ post.url }}">{{ post.teaserlink }}</a>
+ </p>
+ {% endif %}
+ </div>
+</article>
+{% endfor %}