Improve how version-history and events are handled

version-history now shows all posts in one page with anchors
Each individual version page links to version-history instead of duplicating it
Events pages no longer show version-history
Ugly margins have been improved
This commit is contained in:
Saivann 2013-05-15 16:19:48 -04:00
parent dfeb35b397
commit 9bcbd64415
27 changed files with 85 additions and 46 deletions

View file

@ -1,5 +1,26 @@
---
layout: post
layout: base-en
id: version-history
title: Version history
---
<div class="versiontext">
<h1>Version history</h1>
<ul>
{% for post in site.categories.releases %}
<li>
{{ post.date | date:"%Y-%m-%d" }} - <a href="#{{ post.version }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% for post in site.categories.releases %}
<div class="versiontext">
<h1><a name="{{ post.version }}">{{ post.title }} <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 %}