Use blog layout for alerts with clear RSS feeds

This commit is contained in:
Saivann 2015-07-04 13:15:29 -04:00
parent a1b7f4f533
commit 7748504b94
No known key found for this signature in database
GPG key ID: 5780F5D31B5577B0
4 changed files with 31 additions and 15 deletions

View file

@ -11,8 +11,22 @@ lang: en
{% endif %}
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
<div class="alerttext">
<img src="/img/icons/warning.svg" class="alerticon" alt="warning"><h1>{{ page.title }}<a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icons/icon_rss.svg" alt="rss" class="rssicon"></a><br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
{{ content }}
<div class="subhead-links">
<a href="/en/alerts">Network alerts history</a>
| <a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icons/icon_rss.svg" width="12px" alt="rss" class="rssicon"> Subscribe to RSS feed</a>
| <a href="https://github.com/bitcoin-dot-org/bitcoin.org/commits/master/{{page.path|uri_escape}}">Post history</a>
| <a href="https://github.com/bitcoin-dot-org/bitcoin.org/issues/new?body=Source%20File%3A%20{{page.path|uri_escape}}%0A%0A">Report issue</a>
</div>
<div class="post">
<header class="post-header">
<h1 class="post-title alerttitle"><img src="/img/icons/warning.svg" alt="warning">{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
</header>
<article class="post-content">
{{ content }}
</article>
</div>
<a href="/en/alerts">Go back to the network alerts history</a>