diff --git a/_data/lang/it/nothing_to_hide.yml b/_data/lang/it/nothing_to_hide.yml index a6f5f72f..88d6582c 100644 --- a/_data/lang/it/nothing_to_hide.yml +++ b/_data/lang/it/nothing_to_hide.yml @@ -13,5 +13,4 @@ quote: > if you're not a bad person, if you're doing nothing wrong, you should have nothing to hide." Not a single person hsa taken me up on that offer -talk_name: Why privacy matters --- \ No newline at end of file diff --git a/_includes/content/nothing_to_hide.html b/_includes/content/nothing_to_hide.html deleted file mode 100644 index ce578979..00000000 --- a/_includes/content/nothing_to_hide.html +++ /dev/null @@ -1,15 +0,0 @@ -{% assign lang = site.data.lang.[include.lang].nothing_to_hide %} -{% assign en = site.data.lang.en.nothing_to_hide %} - - -
-

- Glenn Greenwald: Why privacy matters - {{ lang.quote | default: en.quote }} -

- -
\ No newline at end of file diff --git a/_includes/index.html b/_includes/index.html index dd09a2d7..01522a61 100644 --- a/_includes/index.html +++ b/_includes/index.html @@ -31,7 +31,20 @@ -{% include content/nothing_to_hide.html lang=selected %} +{% include lang for="nothing_to_hide" lang=selected %} + +
+

+ Glenn Greenwald: Why privacy matters + {{ lang.quote | default: en.quote }} +

+ +

{{ language['Read also'] | default: english['Read also'] }}

diff --git a/_includes/lang b/_includes/lang new file mode 100644 index 00000000..5eef83e6 --- /dev/null +++ b/_includes/lang @@ -0,0 +1,2 @@ +{% assign lang = site.data.lang.[include.lang].[include.for] %} +{% assign en = site.data.lang.en.[include.for] %} \ No newline at end of file