Restructure the site to allow for i18n
This commit is contained in:
@ -30,7 +30,7 @@
|
||||
{% endif %}
|
||||
</a>
|
||||
{% if include.tor %}
|
||||
<a class="mb-1" data-toggle="tooltip" data-placement="bottom" data-original-title="{{include.tor}} Requires specific software to access: torproject.org" href="{{include.tor}}"><img alt="Tor" src="assets/img/layout/tor.png" width="35"></a>
|
||||
<a class="mb-1" data-toggle="tooltip" data-placement="bottom" data-original-title="{{include.tor}} Requires specific software to access: torproject.org" href="{{include.tor}}"><img alt="Tor" src="/assets/img/layout/tor.png" width="35"></a>
|
||||
{% endif %}
|
||||
|
||||
{% if include.extra_button %}
|
@ -1,6 +0,0 @@
|
||||
{% assign lang = site.data.lang.[include.lang].kdl %}
|
||||
{% assign english = site.data.lang.en.kdl %}
|
||||
|
||||
# {{ lang.title | default: english.title }}
|
||||
## {{ lang.subtitle | default: english.subtitle }}
|
||||
{{ lang.description | default: english.description }}
|
15
_includes/content/nothing_to_hide.html
Normal file
15
_includes/content/nothing_to_hide.html
Normal file
@ -0,0 +1,15 @@
|
||||
{% assign lang = site.data.lang.[include.lang].nothing_to_hide %}
|
||||
{% assign en = site.data.lang.en.nothing_to_hide %}
|
||||
|
||||
<div class="page-header">
|
||||
<h1>{{ lang.title | default: en.title }}</h1>
|
||||
</div>
|
||||
<blockquote class="blockquote">
|
||||
<p>
|
||||
<a href="http://www.ted.com/talks/glenn_greenwald_why_privacy_matters" title="Glenn Greenwald - {{ lang.talk_name | default: en.talk_name }} - TED Talk"><img
|
||||
src="/assets/img/layout/Glenn-Greenwald-Why-privacy-matters.jpg" class="img-fluid float-right ml-2" alt="Glenn Greenwald: Why privacy matters"></a>
|
||||
{{ lang.quote | default: en.quote }}
|
||||
</p>
|
||||
<footer class="blockquote-footer">Glenn Greenwald in <cite title="{{ lang.talk_name | default: en.talk_name }} - TED Talk"><a href="http://www.ted.com/talks/glenn_greenwald_why_privacy_matters">
|
||||
{{ lang.talk_name | default: en.talk_name }} - TED Talk</a></cite></footer>
|
||||
</blockquote>
|
2343
_includes/index.html
Normal file
2343
_includes/index.html
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user