forked from bitcoin-dot-org/Bitcoin.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·25 lines (25 loc) · 1.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
layout: base
lang: en
id: index
title: Bitcoin
---
<script>
//Auto redirect to the appropriate language
var langs={};{% for lang in site.langs %}{% if lang[0] != page.lang %}langs['{{ lang[0] }}']=true;{% endif %}{% endfor %}
var lang=(navigator.language)?navigator.language:navigator.userLanguage;
lang=lang.split('_')[0];
if(!langs[lang])lang='en';
setTimeout(function(){window.location.href='/'+lang+'/';},200);
</script>
<p class="mainsummary">{% translate listintro %}</p>
<div class="mainvideo"><iframe src="//www.youtube.com/embed/Um63OQz3bjo{% if page.lang != 'en' %}?cc_load_policy=1{% endif %}" frameborder="0" allowfullscreen></iframe></div>
<div class="mainlist">
<div><div><img src="/img/main_ico_instant.svg" alt="Icon"><div>{% translate list1 %}</div></div></div>
<div><div><img src="/img/main_ico_worldwide.svg" alt="Icon"><div>{% translate list2 %}</div></div></div>
<div><div><img src="/img/main_ico_lowfee.svg" alt="Icon"><div>{% translate list3 %}</div></div></div>
</div>
<p class="maindesc">{% translate desc %}</p>
<div class="mainbutton"><a href="/{{ page.lang }}/{% translate getting-started url %}"><img src="/img/but_bitcoin.svg" alt="icon">{% translate getstarted layout %}</a></div>
<div class="mainoverview">{% translate overview %}</div>
<div class="mainoverviews"><a href="/{{ page.lang }}/{% translate bitcoin-for-individuals url %}">{% translate menu-bitcoin-for-individuals layout %}</a> <a href="/{{ page.lang }}/{% translate bitcoin-for-businesses url %}">{% translate menu-bitcoin-for-businesses layout %}</a> <a href="/{{ page.lang }}/{% translate bitcoin-for-developers url %}">{% translate menu-bitcoin-for-developers layout %}</a></div>