From dabb900032eb7bda95a1655bb21e1743484d96c9 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 19 Aug 2020 11:38:25 -0300 Subject: Use {% link %} tag to assert valid links --- _config.yml | 30 +++++++++++++++--------------- _layouts/default.html | 10 +++++----- _layouts/index.html | 2 +- _layouts/tils-listing.html | 2 +- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/_config.yml b/_config.yml index 5e21306..dd3da6c 100644 --- a/_config.yml +++ b/_config.yml @@ -40,25 +40,25 @@ collections: t: blog_url: - en: "/en/" - pt: "/pt/" - fr: "/fr/" + en: "en/index.md" + pt: "pt/index.md" + fr: "fr/index.md" about: en: "About" pt: "Sobre" fr: "À propos" about_url: - en: "/about.html" - pt: "/sobre.html" - fr: "/a-propos.html" + en: "about.md" + pt: "sobre.md" + fr: "a-propos.md" til: en: "TIL" pt: "HEA" fr: "AJA" til_url: - en: "/til.html" - pt: "/hea.html" - fr: "/aja.html" + en: "til.md" + pt: "hea.md" + fr: "aja.md" til_listing: en: "TIL Listing" pt: "Lista de HEA" @@ -79,13 +79,13 @@ t: fr: "AJA d'EuAndreh" url: blog: - en: "/feed.blog.en.atom" - pt: "/feed.blog.pt.atom" - fr: "/feed.blog.fr.atom" + 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: "feed.til.en.atom" + pt: "feed.til.pt.atom" + fr: "feed.til.fr.atom" posted_on: en: "Posted on" pt: "Postado em" diff --git a/_layouts/default.html b/_layouts/default.html index de8c726..bfb7a79 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,8 +5,8 @@ - - + + {{ page.title }} @@ -26,7 +26,7 @@
diff --git a/_layouts/index.html b/_layouts/index.html index 1337252..3b0f281 100644 --- a/_layouts/index.html +++ b/_layouts/index.html @@ -3,7 +3,7 @@ layout: default ---

{{ site.t.recent_posts[page.lang] }} - + {{ site.t.alt.atom[page.lang] }}

diff --git a/_layouts/tils-listing.html b/_layouts/tils-listing.html index 4e5d4af..0a59a19 100644 --- a/_layouts/tils-listing.html +++ b/_layouts/tils-listing.html @@ -3,7 +3,7 @@ layout: default ---

{{ site.t.til_listing[page.lang] }} - + {{ site.t.alt.atom[page.lang] }}

-- cgit v1.2.3