summaryrefslogtreecommitdiffstats
path: root/index.md
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-08 15:20:06 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-08 15:59:45 +0200
commit376386d3fa968187ba16c985989e7d775eded00f (patch)
tree15da8ae4018c6d99466799fc5ab599e2955844f0 /index.md
parentbb819e89dca0ecd0720986d99e0b26a85b16710a (diff)
downloadmksite-alpine-376386d3fa968187ba16c985989e7d775eded00f.tar.bz2
mksite-alpine-376386d3fa968187ba16c985989e7d775eded00f.tar.xz
frontpage: generate news from posts index
Diffstat (limited to 'index.md')
-rw-r--r--index.md9
1 files changed, 4 insertions, 5 deletions
diff --git a/index.md b/index.md
index e77cb48..1f87874 100644
--- a/index.md
+++ b/index.md
@@ -38,11 +38,10 @@ This site is under [development](http://git.alpinelinux.org/cgit/ncopa/mksite-al
<div class="block-left">
<h3><span class="icon-rss-square"></span> Alpine News</h3>
<table>
- <tr><td>2014-05-21</td><td><a href="posts/release-2.7.8.html">Alpine 2.7.8 released</a></td></tr>
- <tr><td>2014-05-06</td><td><a>Alpine 2.7.7 released</a></td></tr>
- <tr><td>2014-04-21</td><td><a>Alpine 2.7.6 released</a></td></tr>
- <tr><td>2014-04-09</td><td><a>Alpine Linux has switched to musl libc</a></td></tr>
- <tr><td>2014-03-21</td><td><a>Alpine 2.7.5 released</a></td></tr>
+ {{#news}}
+ <tr><td>{{date}}</td><td><a href="posts/{{html}}">{{title}}</a></td></tr>
+ {{/news}}
+ <tr><td>&nbsp;</td><td><a href="posts/">more...</a></td><tr>
</table>
</div>
<div class="block-right">