mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 09:46:12 +00:00
new bitcoin.org
implement multilanguage new improved clients list page update history and statistics in the "about" page add "Some things you need to know" page add "Support Bitcoin" page add a contextual presentation for each category of users (individuals, organizations, developers and enthusiasts) add a short and concise "how it works" page add a "vocabulary" page for Bitcoin technical words definitions give more visibility for the foundation new website design and layout
This commit is contained in:
parent
6d00273b38
commit
2718222c9b
191 changed files with 9435 additions and 2716 deletions
95
_layouts/base-en.html
Normal file
95
_layouts/base-en.html
Normal file
|
@ -0,0 +1,95 @@
|
|||
---
|
||||
langcode: en
|
||||
langtext: English
|
||||
menufor:
|
||||
- text: Individuals
|
||||
url: /en/bitcoin-for-individuals
|
||||
- text: Organizations
|
||||
url: /en/bitcoin-for-organizations
|
||||
- text: Developers
|
||||
url: /en/bitcoin-for-developers
|
||||
- text: Enthusiasts
|
||||
url: /en/bitcoin-for-enthusiasts
|
||||
menu:
|
||||
- text: How it works
|
||||
url: /en/how-it-works
|
||||
- text: Vocabulary
|
||||
url: /en/vocabulary
|
||||
- text: Resources
|
||||
url: /en/resources
|
||||
- text: Community
|
||||
url: /en/community
|
||||
- text: Development
|
||||
url: /en/development
|
||||
- text: Foundation
|
||||
url: /en/foundation
|
||||
- text: About
|
||||
url: /en/about
|
||||
---
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="{{ page.langcode }}">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>{{ page.title }}</title>
|
||||
{% lesscss bootstrap.less %}
|
||||
<script type="text/javascript" src="/js/main.js"></script>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
{% for lang in site.langs %}{% if lang.langcode != page.langcode %}
|
||||
<link rel="alternate" hreflang="{{ lang.langcode }}" href="/{{ lang.langcode }}" />
|
||||
{% endif %}{% endfor %}
|
||||
</head>
|
||||
<body>
|
||||
{% if site.ALERT or site.ALERT_en %}
|
||||
{% if site.ALERT_CLASS %}{% assign class = site.ALERT_CLASS%}{% endif %}{% if site.ALERT_CLASS_en %}{% assign class = site.ALERT_CLASS_en%}{% endif %}
|
||||
{% if site.ALERT %}{% assign alert = site.ALERT%}{% endif %}{% if site.ALERT_en %}{% assign alert = site.ALERT_en%}{% endif %}
|
||||
<div class="alert-message {{ class }}">
|
||||
<div><div>{{ alert }}</div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="head">
|
||||
<div class="wrap">
|
||||
<ul id="lang">
|
||||
<li><a href="javascript:void();">{{ page.langtext }}</a>
|
||||
<ul>
|
||||
{% for lang in site.langs %}{% if lang.langcode != page.langcode %}
|
||||
<li><a href="/{{ lang.langcode }}/">{{ lang.langtext }}</a></li>
|
||||
{% endif %}{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="logo"><a href="/{{ page.langcode }}/"><span>Bitcoin</span></a></div>
|
||||
<ul id="menufor">
|
||||
{% for link in page.menufor %}{% assign active = nil %}{% capture fullurl %}{{ link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||||
<li{% if active %} class="{{ active }}"{% endif %}><a href="{{ link.url }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<ul id="menu" class="wrap">
|
||||
{% for link in page.menu %}{% assign active = nil %}{% capture fullurl %}{{ link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||||
<li{% if active %} class="{{ active }}"{% endif %}><a href="{{ link.url }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div class="wrap">
|
||||
<div id="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
<div id="rightbox">
|
||||
<div id="choose">
|
||||
<a href="/en/choose-your-wallet"><img src="/img/but_start.svg" alt="Choose your wallet">Choose your wallet</a>
|
||||
</div>
|
||||
<div id="before">
|
||||
<a href="/en/you-need-to-know"><img src="/img/but_warn.svg" alt="You need to know">You need to know</a>
|
||||
</div>
|
||||
<div id="support">
|
||||
<a href="/en/support-bitcoin"><img src="/img/but_involve.svg" alt="Support Bitcoin">Support Bitcoin</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer"><div>© <a href="https://bitcoinfoundation.org/" target="_blank">The Bitcoin Foundation</a> 2009–2013 Released under the <a href="http://creativecommons.org/licenses/MIT/" target="_blank">MIT license</a></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">svgfallback();</script>
|
||||
</body>
|
||||
|
||||
</html>
|
97
_layouts/base-fr.html
Normal file
97
_layouts/base-fr.html
Normal file
|
@ -0,0 +1,97 @@
|
|||
---
|
||||
ALERT_CLASS:
|
||||
ALERT:
|
||||
langcode: fr
|
||||
langtext: Français
|
||||
menufor:
|
||||
- text: Particuliers
|
||||
url: /fr/bitcoin-pour-particuliers
|
||||
- text: Organisations
|
||||
url: /fr/bitcoin-pour-organisations
|
||||
- text: Développeurs
|
||||
url: /fr/bitcoin-pour-developpeurs
|
||||
- text: Passionnés
|
||||
url: /fr/bitcoin-pour-passionnes
|
||||
menu:
|
||||
- text: Comment ça marche
|
||||
url: /fr/comment-ca-marche
|
||||
- text: Vocabulaire
|
||||
url: /fr/vocabulaire
|
||||
- text: Ressources
|
||||
url: /fr/ressources
|
||||
- text: Communauté
|
||||
url: /fr/communaute
|
||||
- text: Développement
|
||||
url: /fr/developpement
|
||||
- text: Fondation
|
||||
url: /fr/fondation
|
||||
- text: À propos
|
||||
url: /fr/a-propos
|
||||
---
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html lang="{{ page.langcode }}">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<title>{{ page.title }}</title>
|
||||
{% lesscss bootstrap.less %}
|
||||
<script type="text/javascript" src="/js/main.js"></script>
|
||||
<link rel="shortcut icon" href="/favicon.png">
|
||||
{% for lang in site.langs %}{% if lang.langcode != page.langcode %}
|
||||
<link rel="alternate" hreflang="{{ lang.langcode }}" href="/{{ lang.langcode }}" />
|
||||
{% endif %}{% endfor %}
|
||||
</head>
|
||||
<body>
|
||||
{% if site.ALERT or site.ALERT_fr %}
|
||||
{% if site.ALERT_CLASS %}{% assign class = site.ALERT_CLASS%}{% endif %}{% if site.ALERT_CLASS_fr %}{% assign class = site.ALERT_CLASS_fr%}{% endif %}
|
||||
{% if site.ALERT %}{% assign alert = site.ALERT%}{% endif %}{% if site.ALERT_fr %}{% assign alert = site.ALERT_fr%}{% endif %}
|
||||
<div class="alert-message {{ class }}">
|
||||
<div><div>{{ alert }}</div></div>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div id="head">
|
||||
<div class="wrap">
|
||||
<ul id="lang">
|
||||
<li><a href="javascript:void();">{{ page.langtext }}</a>
|
||||
<ul>
|
||||
{% for lang in site.langs %}{% if lang.langcode != page.langcode %}
|
||||
<li><a href="/{{ lang.langcode }}/">{{ lang.langtext }}</a></li>
|
||||
{% endif %}{% endfor %}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="logo"><a href="/{{ page.langcode }}/"><span>Bitcoin</span></a></div>
|
||||
<ul id="menufor">
|
||||
{% for link in page.menufor %}{% assign active = nil %}{% capture fullurl %}{{ link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||||
<li{% if active %} class="{{ active }}"{% endif %}><a href="{{ link.url }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<ul id="menu" class="wrap">
|
||||
{% for link in page.menu %}{% assign active = nil %}{% capture fullurl %}{{ link.url | append:'.html' }}{% endcapture %}{% if page.url == fullurl %}{% assign active = 'active' %}{% endif %}
|
||||
<li{% if active %} class="{{ active }}"{% endif %}><a href="{{ link.url }}">{{ link.text }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div id="body">
|
||||
<div class="wrap">
|
||||
<div id="content">
|
||||
{{ content }}
|
||||
</div>
|
||||
<div id="rightbox">
|
||||
<div id="choose">
|
||||
<a href="/fr/choisir-votre-porte-monnaie"><img src="/img/but_start.svg" alt="Choisissez votre porte-monnaie">Choisissez votre porte-monnaie</a>
|
||||
</div>
|
||||
<div id="before">
|
||||
<a href="/fr/vous-devez-savoir"><img src="/img/but_warn.svg" alt="Vous devez savoir">Vous devez savoir</a>
|
||||
</div>
|
||||
<div id="support">
|
||||
<a href="/fr/supporter-bitcoin"><img src="/img/but_involve.svg" alt="Support Bitcoin">Supporter Bitcoin !</a>
|
||||
</div>
|
||||
</div>
|
||||
<div id="footer"><div>© <a href="https://bitcoinfoundation.org/" target="_blank">The Bitcoin Foundation</a> 2009–2013 Released under the <a href="http://creativecommons.org/licenses/MIT/" target="_blank">MIT license</a></div></div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">svgfallback();</script>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -1,49 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>Bitcoin - {{ page.title }}</title>
|
||||
<meta name="description" content="The original site offering documentation and open-source Bitcoin software." />
|
||||
<meta name="author" content="" />
|
||||
<meta name="robots" content="noodp" />
|
||||
|
||||
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- scripting -->
|
||||
<!--
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script>
|
||||
<script src="/lib/app.js"></script>
|
||||
-->
|
||||
|
||||
<!-- stylesheet -->
|
||||
{% lesscss bootstrap.less %}
|
||||
|
||||
<!-- fav and touch icons -->
|
||||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<!--
|
||||
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
|
||||
-->
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
{{ content }}
|
||||
|
||||
<div class="container">
|
||||
<footer>
|
||||
<div class="inner">
|
||||
<p>
|
||||
© Bitcoin Project 2009–2012<br/>
|
||||
Released under the <a href="http://creativecommons.org/licenses/MIT/">MIT license</a>
|
||||
</p>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
|
@ -1,4 +0,0 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
{{ content }}
|
|
@ -1,28 +1,23 @@
|
|||
---
|
||||
layout: simple
|
||||
section: news
|
||||
layout: base-en
|
||||
---
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="span5">
|
||||
<h5>News archive</h5>
|
||||
<ul class="unstyled">
|
||||
{% for post in site.categories.releases %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
{{ post.date | date:"%Y-%m-%d" }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="span11">
|
||||
<h1>{{ page.title }} <small>{{ page.date | date:"%e %B %Y" }}</small></h1>
|
||||
{% if page.src %}
|
||||
<p>
|
||||
<a href="{{ page.src }}">Full announcement (including signatures)</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<h1>Version history</h1>
|
||||
<ul class="unstyled">
|
||||
{% for post in site.categories.releases %}
|
||||
<li>
|
||||
<a href="{{ post.url }}">{{ post.title }}</a>
|
||||
{{ post.date | date:"%Y-%m-%d" }}
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="versiontext">
|
||||
<h1>{{ page.title }} <small>{{ page.date | date:"%e %B %Y" }}</small></h1>
|
||||
{% if page.src %}
|
||||
<p>
|
||||
<a href="{{ page.src }}">Full announcement (including signatures)</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{{ content }}
|
||||
</div>
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
layout: base
|
||||
---
|
||||
<div id="masthead">
|
||||
<div class="inner">
|
||||
<div class="container primarybox">
|
||||
<h1><img width=38 height=40 src="/img/logo_small.png" class="thelogo" /> Bitcoin <small>P2P Digital Currency</small></h1>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% include nav.html %}
|
||||
|
||||
{{ content }}
|
Loading…
Add table
Add a link
Reference in a new issue