Generate releases notes using releases.rb

Make releases notes layout and urls consistent with the alerts page
Add RSS feed in download and version-history pages
Add a canonical page with a redirect to the new url
Simplify releases notes layouts
This commit is contained in:
Saivann 2013-06-19 14:04:29 -04:00
parent d45b9bbbfc
commit 6ac93df9f2
29 changed files with 118 additions and 98 deletions

View file

@ -4,24 +4,14 @@ lang: en
id: version-history
title: Bitcoin-Qt version history
---
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin-Qt releases">
<div class="versiontext">
<h1>Bitcoin-Qt version history</h1>
<h1>Bitcoin-Qt version history<a type="application/rss+xml" href="/en/rss/releases.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
<ul>
{% for post in site.categories.releases %}
{% catpage_for p in site.pages reversed sort_by:date category:release %}
<li>
{{ post.date | date:"%Y-%m-%d" }} - <a href="#{{ post.version }}">{{ post.title }}</a>
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>
</li>
{% endfor %}
{% endcatpage_for %}
</ul>
</div>
{% for post in site.categories.releases %}
<div class="versiontext">
<h1><a name="{{ post.version }}">{{ post.title }}<br><small>{{ post.date | date:"%e %B %Y" }}</small></a></h1>
{% if post.src %}
<p>
<a href="{{ post.src }}">Full announcement (including signatures)</a>
</p>
{% endif %}
{{ post.content }}
</div>
{% endfor %}