Add translations to the main site (+markdown transition) [DON'T MERGE] #621
|
@ -13,5 +13,4 @@ quote: >
|
|||
if you're not a bad person, if you're doing nothing wrong, you should
|
||||
have nothing to hide." <strong>Not a single person hsa taken me up on
|
||||
that offer</strong>
|
||||
talk_name: Why privacy matters
|
||||
---
|
|
@ -1,15 +0,0 @@
|
|||
{% 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>
|
|
@ -31,7 +31,20 @@
|
|||
|
||||
<!-- quote by Glenn Greenwald located below the header -->
|
||||
|
||||
{% include content/nothing_to_hide.html lang=selected %}
|
||||
{% include lang for="nothing_to_hide" lang=selected %}
|
||||
<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>
|
||||
|
||||
<h4>{{ language['Read also'] | default: english['Read also'] }}</h4>
|
||||
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
{% assign lang = site.data.lang.[include.lang].[include.for] %}
|
||||
{% assign en = site.data.lang.en.[include.for] %}
|
Reference in New Issue