dash-docs/_layouts/alert.html
Saivann 3da682b36b Normalize page redirections
Use a fallback HTML page with a manual and javascript redirect
Keep canonical pages only for alerts
2013-10-14 14:59:10 -04:00

16 lines
515 B
HTML

---
layout: base
lang: en
---
{% if page.canonical != nil %}
<script>window.location.href='{{ page.canonical }}';</script>
<link rel="canonical" href="http://bitcoin.org{{ page.canonical }}"/>
{% endif %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
<div class="alerttext">
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
{{ content }}
</div>
<a href="/en/alerts">Go back to the network alerts history</a>