mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Add "Network status and alerts" page and RSS feed (fixes #170)
Generate alerts pages through alerts.rb plugin Allow to keep short alias urls for each alert Move alert pages in _alerts Update sitemap plugin to include alerts
This commit is contained in:
parent
cd597fdb21
commit
ec44853934
18 changed files with 385 additions and 54 deletions
17
_layouts/alert.html
Normal file
17
_layouts/alert.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
---
|
||||
layout: base
|
||||
lang: en
|
||||
---
|
||||
{% if page.redirect != nil %}
|
||||
<script>window.location.href='/en/alert/{{ page.redirect }}';</script>
|
||||
<link rel="canonical" href="http://bitcoin.org/en/alert/{{ page.redirect }}"/>
|
||||
{% endif %}
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
|
||||
<div class="versiontext">
|
||||
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
|
||||
{{ content }}
|
||||
<div style="text-align:right">
|
||||
<i>This notice last updated: {{ page.lastmod }}</i>
|
||||
</div>
|
||||
</div>
|
||||
<a href="/en/alerts">Go back to the network alerts history</a>
|
Loading…
Add table
Add a link
Reference in a new issue