mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Apply an independant adapted layout for releases, alerts and events
This commit is contained in:
parent
35481f80c1
commit
f744532805
4 changed files with 26 additions and 22 deletions
|
@ -7,7 +7,7 @@ lang: en
|
|||
<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">
|
||||
<div class="alerttext">
|
||||
<h1>{{ page.title }}<br><small>{{ page.date | date:"%e %B %Y" }}</small></h1>
|
||||
{{ content }}
|
||||
<div style="text-align:right">
|
||||
|
|
|
@ -678,10 +678,6 @@ li p{
|
|||
background-image:none;
|
||||
}
|
||||
|
||||
.versiontext{
|
||||
text-align:left;
|
||||
margin-bottom:40px;
|
||||
}
|
||||
h1 .rssicon{
|
||||
vertical-align:bottom;
|
||||
margin-bottom:9px;
|
||||
|
@ -692,6 +688,16 @@ h2 .rssicon{
|
|||
margin-bottom:7px;
|
||||
margin-left:10px;
|
||||
}
|
||||
|
||||
.versiontext{
|
||||
text-align:left;
|
||||
margin-bottom:40px;
|
||||
max-width:600px;
|
||||
}
|
||||
|
||||
.alerttext{
|
||||
margin-bottom:40px;
|
||||
}
|
||||
.alertstatusinactive{
|
||||
font-size:130%;
|
||||
color:#0d579b;
|
||||
|
|
|
@ -3,19 +3,17 @@ layout: base
|
|||
id: events
|
||||
---
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/events.rss" title="Bitcoin conferences and events">
|
||||
<div class="versiontext">
|
||||
<h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
|
||||
<p class="summary">{% translate pagedesc %}</p>
|
||||
<ul>
|
||||
{% filter_for p in site.pages sort_by:date category:event %}
|
||||
<li>
|
||||
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.link }}">{{ p.title }}</a> - {{ p.city }}, {{ p.country }}
|
||||
</li>
|
||||
{% endfilter_for %}
|
||||
</ul>
|
||||
<ul>
|
||||
<li>{% translate meetupbitcointalk %}</li>
|
||||
<li>{% translate meetupwiki %}</li>
|
||||
<li>{% translate meetupgroup %}</li>
|
||||
</ul>
|
||||
</div>
|
||||
<h1>{% translate pagetitle %}<a type="application/rss+xml" href="/en/rss/events.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
|
||||
<p class="summary">{% translate pagedesc %}</p>
|
||||
<ul>
|
||||
{% filter_for p in site.pages sort_by:date category:event %}
|
||||
<li>
|
||||
{{ p.date | date:"%Y-%m-%d" }} - <a href="{{ p.link }}">{{ p.title }}</a> - {{ p.city }}, {{ p.country }}
|
||||
</li>
|
||||
{% endfilter_for %}
|
||||
</ul>
|
||||
<ul>
|
||||
<li>{% translate meetupbitcointalk %}</li>
|
||||
<li>{% translate meetupwiki %}</li>
|
||||
<li>{% translate meetupgroup %}</li>
|
||||
</ul>
|
||||
|
|
|
@ -5,7 +5,7 @@ id: alerts
|
|||
title: Network status and alerts - Bitcoin
|
||||
---
|
||||
<link rel="alternate" type="application/rss+xml" href="/en/rss/alerts.rss" title="Bitcoin network status and alerts">
|
||||
<div class="versiontext">
|
||||
<div class="alerttext">
|
||||
<h1>Network status and alerts<a type="application/rss+xml" href="/en/rss/alerts.rss"><img src="/img/icon_rss.svg" alt="rss" class="rssicon"></a></h1>
|
||||
{% assign active = false %}{% filter_for p in site.pages reversed sort_by:date category:alert %}{% if p.active == true %}{% assign active = true %}{% endif %}{% endfilter_for %}
|
||||
{% if active == false %}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue