diff --git a/layouts/page.html b/layouts/page.html index f6f227f..23090ae 100644 --- a/layouts/page.html +++ b/layouts/page.html @@ -4,9 +4,11 @@ layout: wrapper.html
+ {% capture source %}{{ site.source }}/src/branch/main{{ page.inputPath | replace: './', '/' }}{% endcapture %} + {% if toc %}
-
{% if lang == 'it' %}Sorgente{% else %}Source{% endif %}
+
{% case lang %}{% when 'it' %}Codice sorgente{% when 'fr' %}Code source{% else %}Source code{% endcase %}
{% render 'share.html', lang: lang, title: title, encoded_absolute_url: encoded_absolute_url %}
diff --git a/pages/But.md b/pages/But.md index 3d9ba2b..3f7ca7d 100644 --- a/pages/But.md +++ b/pages/But.md @@ -2,7 +2,7 @@ title: But… ref: ma permalink: /but/ -redirect_from: [/yet/,/objections/,/but…/,/mais/,/mais…/] +redirect_from: [/yet/,/objections/,/but…/,/mais/,/mais…/,/fr/but/,/en/but/] description: There are a ton of reasons to abandon Social Media, but there are a lot of arguably equally valuable ones not to do so. Here I will go through the main ones and show how nuch they are not completely valid. tags: l10n --- diff --git a/pages/FAQ.md b/pages/FAQ.md index 5f4bca4..0b46798 100644 --- a/pages/FAQ.md +++ b/pages/FAQ.md @@ -2,7 +2,7 @@ title: Objections and replies ref: faq permalink: /faq/ -redirect_from: [/wtf/,/frequently-asked-questions/,/replies-and-objections/,/objections-replies/,/objections-and-replies/,/replies-objections/] +redirect_from: [/wtf/,/frequently-asked-questions/,/replies-and-objections/,/objections-replies/,/objections-and-replies/,/replies-objections/,/en/faq/] description: | As most of writers do, I sent an early preview of this website to friends and people I admire to share their impressions. In a philosopher-like style, I address some of their objections and questions in this page. --- diff --git a/pages/Path.md b/pages/Path.md index 4a2382a..db40d3c 100644 --- a/pages/Path.md +++ b/pages/Path.md @@ -1,7 +1,7 @@ --- title: Path permalink: /path/ -redirect_from: [/pathway/,/levels/] +redirect_from: [/pathway/,/levels/,/en/path/] ref: path description: Too much information got you disoriented? This is the path to follow to free yourself from Social Media dependence. toc: false diff --git a/pages/Solutions.md b/pages/Solutions.md index e47f6b9..f76fe93 100644 --- a/pages/Solutions.md +++ b/pages/Solutions.md @@ -2,7 +2,7 @@ title: Solutions and alternatives permalink: /solutions/ ref: sol -redirect_from: [/sol/,/solution/] +redirect_from: [/sol/,/solution/,/fr/sol/,/en/sol/] description: | Being “social” without “Social Media” seems impossible. Nevertheless, it is a whole new life, full of surprises, excitement and authenticity, but, above all, freedom. There are a few solutions which make life without Social Media connected and interactive anyway. --- diff --git a/pages/Why.md b/pages/Why.md index 76a9930..3c4d5da 100644 --- a/pages/Why.md +++ b/pages/Why.md @@ -1,7 +1,7 @@ --- title: Why permalink: /why/ -redirect_from: [/arguments/,/reasons/,/l1/,/l01/,/l-01/,/level01/,/level1/,/level-1/,/level-01/] +redirect_from: [/arguments/,/reasons/,/l1/,/l01/,/l-01/,/level01/,/level1/,/level-1/,/level-01/,/en/why/] ref: why toc: false description: | diff --git a/pages/about.md b/pages/about.md index 2da1ff4..c921631 100644 --- a/pages/about.md +++ b/pages/about.md @@ -3,12 +3,12 @@ title: About ref: about lang: en permalink: /about/ -redirect_from: [/who/,/purpose/,/l00/,/l0/,/l-0/,/l-00/,/level0,/level-0/,/level-00/,/level00/] +redirect_from: [/who/,/purpose/,/l00/,/l0/,/l-0/,/l-00/,/level0,/level-0/,/level-00/,/level00/,/en/about/] description: | What quitsocialmedia.club is, how it is born and what its purposes are. toc: false --- -Hi, I'm Tommi, and I created this website. Let's skip the part [about me](https://tommi.space/about 'About - tommi.space'), you can read it [on my website](https://tommi.space/ 'tommi.space, Tommi's personal website'). +Hi, I'm Tommi, and I created this website. Let's skip the part [about me](https://tommi.space/about 'About - tommi.space'), you can read it [on my website](https://tommi.space/ 'tommi.space, Tommi’s personal website'). I spent several tormented months tinkering about the ups and downs of Social Media. I got very stressed and particularly obsessed with their [ethical issues](/why). Eventually, I realized [**quitting**](/quit 'Quit') is the best (and probably the only) way to actually [feel better](/solutions 'Solutions'). diff --git a/pages/fr/About.md b/pages/fr/About.md index d64ef8c..ddb3fb4 100644 --- a/pages/fr/About.md +++ b/pages/fr/About.md @@ -2,13 +2,13 @@ title: À propos ref: about permalink: /àPropos/ -redirect_from: [/n00/,/n0/,/n-0/,/n-00/,/niveau0/,/niveau-0/,/niveau-00/,/niveau00/] +redirect_from: [/n00/,/n0/,/n-0/,/n-00/,/niveau0/,/niveau-0/,/niveau-00/,/niveau00/,/fr/about/] description: 'Qu’est ce que quitsocialmedia.club, quelles sont ses origines et quel sont ses objectifs.' toc: false --- Bonjour, je suis Tommi et j’ai crée ce site. Sautons la partie [à mon sujet](https://tommi.space/about 'About - tommi.space') que vous pouvez lire sur [mon site](https://tommi.space/ 'tommi.space, Tommi’s personal website'). -J’ai passé de nombreux mois à me tourmenter sur les coûts et bénéfices des Réseaux Sociaux. J’étais particulièrement préoccupé par les [problèmes éthiques](/why) soulevés pour finalement réaliser que les [**quitter**](/quitter 'Quit') était la meilleure – et probablement la seule – solution pour [me sentir mieux]](/solutions 'Solutions'). +J’ai passé de nombreux mois à me tourmenter sur les coûts et bénéfices des Réseaux Sociaux. J’étais particulièrement préoccupé par les [problèmes éthiques](/why) soulevés pour finalement réaliser que les [**quitter**](/quitter 'Quit') était la meilleure – et probablement la seule – solution pour [me sentir mieux](/solutions 'Solutions'). J’en ai néanmoins conclut que seulement les quitter est sans intérêt. Oui je me sentirais mieux, oui je pourrais profiter et tester de [nouvelles formes de communications](/solutions), mais personne ne profiterait de mes choix. Je me suis alors demandé: