summaryrefslogtreecommitdiff
path: root/pastebin
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 /pastebin
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--pastebins.en.md8
-rw-r--r--pastebins.fr.md8
-rw-r--r--pastebins.md6
-rw-r--r--pastebins.pt.md8
4 files changed, 24 insertions, 6 deletions
diff --git a/pastebins.en.md b/pastebins.en.md
new file mode 100644
index 0000000..974e540
--- /dev/null
+++ b/pastebins.en.md
@@ -0,0 +1,8 @@
+---
+title: Pastebins
+layout: page
+lang: en
+ref: pastebins
+---
+
+{% include link-listing.html entries=site.pastebins kind="pastebins" %}
diff --git a/pastebins.fr.md b/pastebins.fr.md
new file mode 100644
index 0000000..2ea6258
--- /dev/null
+++ b/pastebins.fr.md
@@ -0,0 +1,8 @@
+---
+title: Pastebins
+layout: page
+lang: fr
+ref: pastebins
+---
+
+{% include link-listing.html entries=site.pastebins kind="pastebins" %}
diff --git a/pastebins.md b/pastebins.md
deleted file mode 100644
index 4c3fbc0..0000000
--- a/pastebins.md
+++ /dev/null
@@ -1,6 +0,0 @@
----
-title: Pastebins
-layout: pastebins-listing
-lang: en
-ref: pastebins
----
diff --git a/pastebins.pt.md b/pastebins.pt.md
new file mode 100644
index 0000000..fcece8a
--- /dev/null
+++ b/pastebins.pt.md
@@ -0,0 +1,8 @@
+---
+title: Pastebins
+layout: page
+lang: pt
+ref: pastebins
+---
+
+{% include link-listing.html entries=site.pastebins kind="pastebins" %}