Skip to content

Commit

Permalink
Revert "Multi lang"
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffypony committed Jan 30, 2016
1 parent 71e32d5 commit e5e14a2
Show file tree
Hide file tree
Showing 22 changed files with 168 additions and 938 deletions.
1 change: 0 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ kramdown:
smart_quotes: ["apos", "apos", "quot", "quot"]

exclude: ["README.md"]
languages: ["en", "cn"]
gems: [jekyll-paginate]
paginate: 10
paginate_path: blog/page:num/
Expand Down
230 changes: 0 additions & 230 deletions _i18n/cn.yml

This file was deleted.

230 changes: 0 additions & 230 deletions _i18n/en.yml

This file was deleted.

36 changes: 18 additions & 18 deletions _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@
<li class="dropdown">
<input type="checkbox" class="dropdown-input" id="drop-1"/><label for="drop-1" class="purple">{% t menu.blog %} <span class="caret"></span></label>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ site.baseurl }}/blog">{% t menu.allblog %}</a></li>
<li><a href="{{ site.baseurl }}/blog/tags/monero%20missives">{% t menu.missives %}</a></li>
<li><a href="{{ site.baseurl }}/blog/tags/dev%20diaries">{% t menu.devdiaries %}</a></li>
<li><a href="/blog">{% t menu.allblog %}</a></li>
<li><a href="/blog/tags/monero%20missives">{% t menu.missives %}</a></li>
<li><a href="/blog/tags/dev%20diaries">{% t menu.devdiaries %}</a></li>
</ul>
</li>
<li class="dropdown">
<input type="checkbox" id="drop-2"/><label for="drop-2" class="red">{% t global.getting_started %} <span class="caret"></span></label>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ site.baseurl }}/getting-started/choose">{% t menu.choose %}</a></li>
<li><a href="{{ site.baseurl }}/getting-started/running">{% t menu.running %}</a></li>
<li><a href="{{ site.baseurl }}/getting-started/donate">{% t menu.donations %}</a></li>
<li><a href="/getting-started/choose">{% t menu.choose %}</a></li>
<li><a href="/getting-started/running">{% t menu.running %}</a></li>
<li><a href="/getting-started/donate">{% t menu.donations %}</a></li>
<li class="divider"></li>
<li><a href="{{ site.baseurl }}/downloads">{% t menu.downloads %}</a></li>
<li><a href="/downloads">{% t menu.downloads %}</a></li>
<li class="divider"></li>
<li><a href="{{ site.baseurl }}/getting-started/accepting">{% t menu.accepting %}</a></li>
<li><a href="{{ site.baseurl }}/getting-started/merchants">{% t menu.merchants %}</a></li>
<li><a href="/getting-started/accepting">{% t menu.accepting %}</a></li>
<li><a href="/getting-started/merchants">{% t menu.merchants %}</a></li>
</ul>
</li>
<li class="dropdown">
<input type="checkbox" id="drop-3"/><label for="drop-3" class="orange">{% t menu.knowledge_base %} <span class="caret"></span></label>
<ul class="dropdown-menu" role="menu">
<li><a href="{{ site.baseurl }}/knowledge-base/about">{% t menu.about %}</a></li>
<li><a href="{{ site.baseurl }}/knowledge-base/people">{% t menu.people %}</a></li>
<li><a href="{{ site.baseurl }}/knowledge-base/moneropedia">{% t global.wiki %}</a></li>
<li><a href="/knowledge-base/about">{% t menu.about %}</a></li>
<li><a href="/knowledge-base/people">{% t menu.people %}</a></li>
<li><a href="/knowledge-base/moneropedia">{% t global.wiki %}</a></li>
<li class="divider"></li>
<li><a href="{{ site.baseurl }}/knowledge-base/user-guides">{% t menu.userguides %}</a></li>
<li><a href="{{ site.baseurl }}/knowledge-base/developer-guides">{% t menu.developerguides %}</a></li>
<li><a href="/knowledge-base/user-guides">{% t menu.userguides %}</a></li>
<li><a href="/knowledge-base/developer-guides">{% t menu.developerguides %}</a></li>
<li class="divider"></li>
<li><a href="{{ site.baseurl }}/design-goals">{% t menu.goals %}</a></li>
<li><a href="{{ site.baseurl }}/research-lab">{% t menu.lab %}</a></li>
<li><a href="{{ site.baseurl }}/knowledge-base/openalias">{% t menu.openalias %}</a></li>
<li><a href="{{ site.baseurl }}/knowledge-base/projects">{% t menu.projects %}</a></li>
<li><a href="/design-goals">{% t menu.goals %}</a></li>
<li><a href="/research-lab">{% t menu.lab %}</a></li>
<li><a href="/knowledge-base/openalias">{% t menu.openalias %}</a></li>
<li><a href="/knowledge-base/projects">{% t menu.projects %}</a></li>
</ul>
</li>
<li class="dropdown">
Expand Down
7 changes: 0 additions & 7 deletions _layouts/static_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,10 @@
{% include header.html %}

<div class="container main-content">
{% if site.lang == "cn" %}
<div class="page-title">
{{ page.cn-attribution }}
<img src="//static.getmonero.org/images/{{ page.icon }}.svg" class="title-icon"><h2 class="inline">{{ page.cn-title-pre-kick }} <span class="{{ page.kick-class }}">{{ page.cn-title-kick }}</span> {{ page.cn-title-post-kick }}</h2>
</div>
{% else %}
<div class="page-title">
{{ page.attribution }}
<img src="//static.getmonero.org/images/{{ page.icon }}.svg" class="title-icon"><h2 class="inline">{{ page.title-pre-kick }} <span class="{{ page.kick-class }}">{{ page.title-kick }}</span> {{ page.title-post-kick }}</h2>
</div>
{% endif %}

{{ content }}
</div>
Expand Down
Loading

0 comments on commit e5e14a2

Please sign in to comment.