Gentoo Archives: gentoo-commits

From: Alex Legler <a3li@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] sites/www:master commit in: news/
Date: Sun, 03 Jan 2016 15:40:17
Message-Id: 1451835592.f98a6b47e70389013e8dac94ce37270d76aeb923.a3li@gentoo
1 commit: f98a6b47e70389013e8dac94ce37270d76aeb923
2 Author: Alex Legler <alex <AT> a3li <DOT> li>
3 AuthorDate: Sun Jan 3 15:39:52 2016 +0000
4 Commit: Alex Legler <a3li <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 3 15:39:52 2016 +0000
6 URL: https://gitweb.gentoo.org/sites/www.git/commit/?id=f98a6b47
7
8 Add basic full news item list at /news/
9
10 news/index.html | 20 +++++++++++++++++++-
11 1 file changed, 19 insertions(+), 1 deletion(-)
12
13 diff --git a/news/index.html b/news/index.html
14 index 22bbd91..094cfbb 100644
15 --- a/news/index.html
16 +++ b/news/index.html
17 @@ -7,4 +7,22 @@ nav2-show: true
18 meta: '<link rel="alternate" type="application/atom+xml" title="Gentoo Linux News" href="/feeds/news.xml">'
19 ---
20
21 -{% include frontpage/news %}
22 \ No newline at end of file
23 +{% for post in site.posts %}
24 +<article class="newsitem">
25 + <h2 class="stick-top newsitem-bullet">
26 + <span class="fa fa-fw fa-chevron-circle-right" title="News item"> </span>
27 + </h2>
28 + <h2 class="stick-top newsitem-headline">
29 + <a href="{{ post.url }}">{{ post.title }}</a> <small>({{ post.date | date: "%b %-d, %Y" }})</small>
30 + </h2>
31 + <div class="newsitem-content">
32 + {{ post.excerpt }}
33 + {% if post.teaserlink %}
34 + <p>
35 + <span class="fa fa-fw fa-chevron-right"></span>
36 + <a href="{{ post.url }}">{{ post.teaserlink }}</a>
37 + </p>
38 + {% endif %}
39 + </div>
40 +</article>
41 +{% endfor %}