aboutsummaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-10-05 21:27:57 -0300
committerEuAndreh <eu@euandre.org>2020-10-10 14:31:24 -0300
commita7c4db7e9215694ef6c50debcc0b4e7402265687 (patch)
treed45b89f1758b34416e5157cb0e7404276c6fa49a /_config.yml
parentcargo2nix: Use overlay on example (diff)
downloadeuandre.org-a7c4db7e9215694ef6c50debcc0b4e7402265687.tar.gz
euandre.org-a7c4db7e9215694ef6c50debcc0b4e7402265687.tar.xz
Refactor i18n structure, remove layouts, add slides
Yep, this commit is too big big I didn't want to take the trouble of splitting it now. - _config.yml translation keys are now simetrical on the entitiy: articles, pastebins, tils, slides, etc.; - _posts were moved to _articles: the _posts collection had special treatment in Jekyll which I wanted to avoid; - the filtering of entries for the Atom feed is now done inside the _includes/feed.atom file instead of every feed file; - all entities are now dealt with using the pluralized name: articles, pastebins, tils, slides. No more inconsistencies on the key names, they now should only make sense as the translation value on the dictionary; - add base reveal.js infrastruture, with Jekyll generating the listing page and nothing else.
Diffstat (limited to '')
-rw-r--r--_config.yml130
1 files changed, 89 insertions, 41 deletions
diff --git a/_config.yml b/_config.yml
index 2ec298c..134e719 100644
--- a/_config.yml
+++ b/_config.yml
@@ -33,65 +33,113 @@ exclude:
- description
collections:
+ articles:
+ output: true
+ permalink: /:year/:month/:day/:title:output_ext
pastebins:
output: true
- permalink: /pastebin/:title:output_ext
+ permalink: /pastebin/:year/:month/:day/:title:output_ext
tils:
output: true
permalink: /til/:year/:month/:day/:title:output_ext
+ slides:
+ permalink: /slides/:year/:month/:day/:title:output_ext
t:
description:
en: "EuAndreh's website"
pt: "Site do EuAndreh"
fr: "Site d'EuAndreh"
- blog_url:
- en: "en/index.md"
- pt: "pt/index.md"
- fr: "fr/index.md"
- about:
- en: "About"
- pt: "Sobre"
- fr: "À propos"
- about_url:
- en: "about.md"
- pt: "sobre.md"
- fr: "a-propos.md"
- til:
- en: "TIL"
- pt: "HEA"
- fr: "AJA"
- til_url:
- en: "til.md"
- pt: "hea.md"
- fr: "aja.md"
- til_listing:
- en: "TIL Listing"
- pt: "Lista de HEA"
- fr: "Liste de AJA"
- recent_posts:
- en: "Recent posts"
- pt: "Postagens recentes"
- fr: "Postes récent"
- feed:
- title:
- blog:
+ pages:
+ about:
+ name:
+ en: "About"
+ pt: "Sobre"
+ fr: "À propos"
+ url:
+ en: "about.md"
+ pt: "sobre.md"
+ fr: "a-propos.md"
+ articles:
+ name:
+ en: "<web>EuAndreh</web>"
+ pt: "<web>EuAndreh</web>"
+ fr: "<web>EuAndreh</web>"
+ url:
+ en: "en/index.md"
+ pt: "pt/index.md"
+ fr: "fr/index.md"
+ listing:
+ en: "Recent posts"
+ pt: "Postagens recentes"
+ fr: "Postes récent"
+ feed:
+ title:
en: "EuAndreh's blog"
pt: "Blog do EuAndreh"
fr: "Blogue d'EuAndreh"
- til:
+ url:
+ en: "feed.articles.en.atom"
+ pt: "feed.articles.pt.atom"
+ fr: "feed.articles.fr.atom"
+ pastebins:
+ listing:
+ en: "Pastings listing"
+ pt: "Lista de pastebins"
+ fr: "Liste de pastebins"
+ feed:
+ title:
+ en: "EuAndreh's pastebins"
+ pt: "Pastebins do EuAndreh"
+ fr: "Pastebins d'EuAndreh"
+ url:
+ en: "feed.pastebins.en.atom"
+ pt: "feed.pastebins.pt.atom"
+ fr: "feed.pastebins.fr.atom"
+ tils:
+ name:
+ en: "TIL"
+ pt: "HEA"
+ fr: "AJA"
+ url:
+ en: "til.md"
+ pt: "hea.md"
+ fr: "aja.md"
+ listing:
+ en: "TIL Listing"
+ pt: "Lista de HEA"
+ fr: "Liste de AJA"
+ feed:
+ title:
en: "EuAndreh's TIL"
pt: "HEA do EuAndreh"
fr: "AJA d'EuAndreh"
+ url:
+ en: "feed.tils.en.atom"
+ pt: "feed.tils.pt.atom"
+ fr: "feed.tils.fr.atom"
+ slides:
+ name:
+ en: "Slides"
+ pt: "Eslaides"
+ fr: "Diapositives"
url:
- blog:
- en: "feed.blog.en.atom"
- pt: "feed.blog.pt.atom"
- fr: "feed.blog.fr.atom"
- til:
- en: "feed.til.en.atom"
- pt: "feed.til.pt.atom"
- fr: "feed.til.fr.atom"
+ en: "slides.md"
+ pt: "eslaides.md"
+ fr: "diapositives.md"
+ listing:
+ en: "Slides Listing"
+ pt: "Lista de Eslaides"
+ fr: "Liste des Diapositives"
+ feed:
+ title:
+ en: "EuAndreh's slides"
+ pt: "Slides do EuAndreh"
+ fr: "Diapositives d'EuAndreh"
+ url:
+ en: "feed.slides.en.atom"
+ pt: "feed.slides.pt.atom"
+ fr: "feed.slides.fr.atom"
posted_on:
en: "Posted on"
pt: "Postado em"