dash-docs/_templates/bitcoin-core-overview.html
David A. Harding 706c791e92
New Bitcoin Core subsite
This commit contains a large number of contributions from Saïvann
Carignan.
2015-09-14 06:02:58 -04:00

115 lines
3.9 KiB
HTML

---
# This file is licensed under the MIT License (MIT) available on
# http://opensource.org/licenses/MIT.
layout: base-core
id: bitcoin-core-overview
columns: 1
breadcrumbs:
- bitcoin
- Bitcoin Core
---
<link rel="alternate" type="application/rss+xml" href="/en/rss/releases.rss" title="Bitcoin Core releases">
<h1 id="bitcoin-core" class="not-displayed">{% translate bitcoin-core %}</h1>
{% capture slogan %}{% translate bitcoin-core-slogan %}{% endcapture %}
<p><img src="/img/bitcoin-core/{{page.lang}}-big-logo.svg" alt="{{slogan | strip_html }}"></p>
<br class="clear">
{% include bitcoin-core/download-bitcoin-core.html %}
<br class="clear">
<div class="show_less_more">
<div class="show_less">
<p>{% translate about1 %}</p>
</div>
<div class="show_more">
<p>{% translate about2 %}</p>
<p>{% translate about3 %}</p>
<p>{% translate about4 %}</p>
{% comment %}
<!-- If English, use text with links; else use plain text
until linked pages have been translated -->
{% endcomment %}
{% if page.lang == "en" %}
<p>In addition to improving Bitcoin's decentralization, Bitcoin Core users get
<a href="/{{page.lang}}/{% translate bitcoin-core-validation url %}">better security</a>
for their bitcoins,
<a href="/{{page.lang}}/{% translate bitcoin-core-privacy url %}">privacy features</a>
not available in other wallets, a choice of
<a href="/{{page.lang}}/{% translate bitcoin-core-user-interface url %}">user interfaces</a>,
and several other powerful features.</p>
{% else %}
<p>{% translate about5 %}</p>
{% endif %}
</div>
<p class="center"><button class="toggle_show_more_less js not-displayed"><span class="fa fa-caret-down"></span> {% translate read-more %}</button></p>
</div>
<br>
{% comment %}
<!-- If English, use list of links; else link only to the download page -->
{% endcomment %}
{% if page.lang == "en" %}
<div class="two-column-list">
<ul class="fa-ul">
<li><span class="fa-li fa fa-download fa-2x"></span>
<b><a href="/{{page.lang}}/{% translate download url %}">Download</a></b><br
>Download Bitcoin Core&nbsp;{{ site.DOWNLOAD_VERSION }}
<li><span class="fa-li fa fa-rocket fa-2x"></span>
<b><a href="/{{page.lang}}/{% translate bitcoin-core-features url %}">Features</a></b><br
>Discover what Bitcoin Core offers
<li><span class="fa-li fa fa-question fa-2x"></span>
<b><a href="/{{page.lang}}/{% translate bitcoin-core-help url %}">Get help</a></b><br
>Documentation, forums, chat rooms
<li><span class="fa-li fa fa-code-fork fa-2x"></span>
<b><a href="/{{page.lang}}/{% translate bitcoin-core-contribute url %}">Contribute</a></b><br
>Code, translations, and more
</ul>
</div>
{% else %}
<p class="center font2x"><span class="fa fa-download fa-2x"></span>
<b><a href="/{{page.lang}}/{% translate download url %}">{% translate download-bitcoin-core %}</a></b></p>
{% endif %}
<br class="clear">
<h3 id="news">{% translate news %}</h3>
{% comment %}<!-- Capture all the releases into a string and convert it to an array -->{% endcomment %}
{% capture text_releases %}
{% filter_for p in site.pages reversed sort_by:versionint category:release %}
{% if p.optional_date %}{{ p.optional_date | date:"%Y-%m-%d" }} - {% endif %}<a href="{{ p.url | replace:'.html','' }}">{{ p.title }}</a>::
{% endfilter_for %}
{% endcapture %}
{% assign array_releases = text_releases | strip_newlines | split: '::' %}
{% comment %}<!-- show the latest three releases -->{% endcomment %}
<ul>
{% for release in array_releases %}
{% if forloop.index <= 3 %}
<li>{{ release }}</li>
{% endif %}
{% endfor %}
</ul>
<p>{% translate more-news-and-rss %}</p>
<br class="clear">
<script>
if ( $( window ).width() > 400 && $( window ).height() > 600 ) {
$(".show_more").removeClass("show_more");
$(".toggle_show_more_less").removeClass("toggle_show_more_less");
}
</script>