mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
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:
parent
dfeb35b397
commit
9bcbd64415
27 changed files with 85 additions and 46 deletions
|
@ -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 %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue