diff --git a/README.md b/README.md index 0c6bdc17..ce85fc4c 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ Release notes should be placed in `_posts/releases/YEAR-MONTH-DAY-SHORTTITLE.md` layout: post title: Bitcoin version 0.3.24 released src: http://sourceforge.net/mailarchive/message.php?msg_id=27771039 +category: releases --- Bitcoin v0.3.24 is now available for download at @@ -44,6 +45,9 @@ Bitcoin v0.3.24 is now available for download at * `layout: post` important for Jekyll * `title: ...` will be used as the title * `src: ...` (optional) link to full annoucement +* `categorry: ...` category of post +** `releases` +** `events` ### Aliases for contributors diff --git a/_layouts/post.html b/_layouts/post.html index 2450153d..9233bc00 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -7,7 +7,7 @@ section: news
News archive
-
- {% for post in site.posts limit: 1 %} -

{{ post.title }} {{ post.date | date:"%e %B %Y" }}

- {% if post.src %} -

- Full announcement (including signatures) -

- {% endif %} - {{ post.content }} - {% endfor %} -

News archive

-
+
+
+
+ {% for post in site.categories.releases limit: 1 %} +

{{ post.title }}

+

{{ post.date | date:"%e %B %Y" }}

+ {% if post.src %} +

+ Full announcement (including signatures) +

+ {% endif %} + {{ post.content }} + {% endfor %} +

News archive

+
+
+
+ {% for event in site.categories.events limit: 1 %} +

{{ event.title }}

+ {{ event.content }} + {% endfor %} +
+