Skip to content

Commit

Permalink
Bitcoin Core: add banner redirecting some pages to BitcoinCore.org
Browse files Browse the repository at this point in the history
  • Loading branch information
harding committed Jan 17, 2016
1 parent 2b8c4c2 commit f02a810
Show file tree
Hide file tree
Showing 18 changed files with 39 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _includes/layout/base-core/pagetop-moved-notice.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{% comment %}
This file is licensed under the MIT License (MIT) available on
http://opensource.org/licenses/MIT.
{% endcomment %}

{% if page.moved_url %}
<div class="banner-message success">
<a href="{{page.moved_url}}"><span>{% translate banner-core-moved layout %}</span></a>
</div>
{% endif %}
1 change: 1 addition & 0 deletions _layouts/base-core.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
<body>
{% include layout/base/pagetop-detect-mobile.html %}
{% include layout/base/pagetop-alert.html %}
{% include layout/base-core/pagetop-moved-notice.html %}

<div class="head"><div>
{% include layout/base/head-language-dropdown.html %}
Expand Down
4 changes: 4 additions & 0 deletions _translations/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -845,6 +845,10 @@ en:
menu-support-bitcoin: "Support Bitcoin"
menu-vocabulary: Vocabulary
menu-you-need-to-know: "You need to know"
banner-core-moved: |
This page has moved to the new Bitcoin Core
website (click here to be redirected)
banner-translate: "Translations for this language are outdated. <a href=\"https://github.com/bitcoin-dot-org/bitcoin.org#translation\">Click here to help translate bitcoin.org in your language</a>."
footer: "Released under the <a href=\"http://opensource.org/licenses/mit-license.php\" target=\"_blank\">MIT license</a>"
sponsor: "A community website sponsored by"
Expand Down
2 changes: 2 additions & 0 deletions de/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement

moved_url: https://bitcoincore.org/de/2016/01/07/stellungnahme-der-bitcoin-core-entwickler/
---
# Stellungnahme der Bitcoin Core Entwickler 2016-01-07

Expand Down
1 change: 1 addition & 0 deletions en/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement
moved_url: https://bitcoincore.org/en/2016/01/07/statement
---
# Statement from Bitcoin Core 2016-01-07

Expand Down
2 changes: 2 additions & 0 deletions en/bitcoin-core/capacity-increases-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases FAQ

moved_url: https://bitcoincore.org/en/2015/12/23/capacity-increases-faq/
---
# Capacity increases FAQ

Expand Down
1 change: 1 addition & 0 deletions en/bitcoin-core/capacity-increases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases
moved_url: https://bitcoincore.org/en/2015/12/21/capacity-increase
---
# Capacity increases for the Bitcoin system

Expand Down
1 change: 1 addition & 0 deletions en/bitcoin-core/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ breadcrumbs:
{% endcapture %}
{% assign array_releases = text_releases | strip_newlines | split: '::' %}

- 2016-01-09 - [New Bitcoin Core website](https://bitcoincore.org)
- 2016-01-07 - [Project Statement](/en/bitcoin-core/2016-01-07-statement)
- 2015-12-21 - Capacity increases for the Bitcoin system: [Statement](/en/bitcoin-core/capacity-increases) & [FAQ](/en/bitcoin-core/capacity-increases-faq)
{% comment %}<!-- show the latest three releases -->{% endcomment %}
Expand Down
2 changes: 2 additions & 0 deletions es/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement

moved_url: "https://bitcoincore.org/es/2016/01/07/declaraci%C3%B3n/"
---
# Declaración de Bitcoin Core

Expand Down
2 changes: 2 additions & 0 deletions it/bitcoin-core/capacity-increases-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases FAQ

moved_url: https://bitcoincore.org/it/2015/12/23/capacity-increases-faq/
---
# Domande frequenti sugli aumenti di capacità

Expand Down
1 change: 1 addition & 0 deletions it/bitcoin-core/capacity-increases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases
moved_url: https://bitcoincore.org/it/2015/12/21/capacity-increase/
---
# Aumenti di capacità per il sistema Bitcoin

Expand Down
2 changes: 2 additions & 0 deletions ru/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement

moved_url: "https://bitcoincore.org/ru/2016/01/07/c%D0%BE%D0%BE%D0%B1%D1%89%D0%B5%D0%BD%D0%B8%D0%B5-%D0%BE%D1%82-bitcoin-core/"
---
# Сообщение от Bitcoin Core 2016-01-07

Expand Down
2 changes: 2 additions & 0 deletions zh_CN/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement

moved_url: "https://bitcoincore.org/zh_CN/2016/01/07/bitcoin-core-%E5%A3%B0%E6%98%8E/"
---
# Bitcoin Core 声明 -- 2016-01-07

Expand Down
2 changes: 2 additions & 0 deletions zh_CN/bitcoin-core/capacity-increases-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases FAQ

moved_url: "https://bitcoincore.org/zh_CN/2015/12/21/%E7%B3%BB%E7%BB%9F%E6%89%A9%E5%B1%95%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98%E8%A7%A3%E7%AD%94/"
---
# 系统扩展常见问题解答

Expand Down
1 change: 1 addition & 0 deletions zh_CN/bitcoin-core/capacity-increases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases
moved_url: "https://bitcoincore.org/zh_CN/2015/12/21/%E6%AF%94%E7%89%B9%E5%B8%81%E7%B3%BB%E7%BB%9F%E6%89%A9%E5%B1%95/"
---
# 比特币系统扩展

Expand Down
2 changes: 2 additions & 0 deletions zh_TW/bitcoin-core/2016-01-07-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- 2016-01-07 Statement

moved_url: "https://bitcoincore.org/zh_TW/2016/01/07/bitcoin-core-%E8%81%B2%E6%98%8E/"
---
# Bitcoin Core 聲明 -- 2016-01-07

Expand Down
2 changes: 2 additions & 0 deletions zh_TW/bitcoin-core/capacity-increases-faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases FAQ

moved_url: "https://bitcoincore.org/zh_TW/2015/12/21/%E7%B3%BB%E7%B5%B1%E6%93%B4%E5%B1%95%E5%B8%B8%E8%A6%8B%E5%95%8F%E9%A1%8C%E8%A7%A3%E7%AD%94/"
---
# 系統擴展常見問題解答

Expand Down
1 change: 1 addition & 0 deletions zh_TW/bitcoin-core/capacity-increases.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ breadcrumbs:
- bitcoin
- bcc
- Capacity increases
moved_url: "https://bitcoincore.org/zh_TW/2015/12/21/%E6%AF%94%E7%89%B9%E5%B9%A3%E7%B3%BB%E7%B5%B1%E6%93%B4%E5%B1%95/"
---
# 比特幣系統擴展

Expand Down

0 comments on commit f02a810

Please sign in to comment.