mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
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:
parent
d45b9bbbfc
commit
6ac93df9f2
29 changed files with 118 additions and 98 deletions
19
_layouts/release.html
Normal file
19
_layouts/release.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
layout: base
|
||||
lang: en
|
||||
---
|
||||
{% if page.redirect != nil %}
|
||||
<script>window.location.href='/en/release/{{ page.redirect }}';</script>
|
||||
<link rel="canonical" href="http://bitcoin.org/en/release/{{ page.redirect }}"/>
|
||||
{% endif %}
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin-Qt releases">
|
||||
<div class="versiontext">
|
||||
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
|
||||
{% if page.src %}
|
||||
<p>
|
||||
<a href="{{ page.src }}">Full announcement (including signatures)</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
||||
<a href="/en/version-history">Go back to the version history</a>
|
Loading…
Add table
Add a link
Reference in a new issue