From 191728a2cac217e96a7f1e4e9a4710606f6ad920 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 12 Aug 2020 06:34:38 -0300 Subject: Add TILs section, with Atom support and i18n - add i18n logic to support translated TIL entries and listing; - make the website title less tied to a blog: "EuAndreh::blog" -> EuAndreh; - remove old Atom feed link aliases; - remove feed.all.atom and it's link in the about page; - create Atom feed for TIL entries; - show blog and TIL Atom feed on their listing pages (index and tils-listing); - add root alias: / -> /en/ - remove explicit list of feeds from $IGNORED_PAGES and use a '*.atom' glob instead; - also lint, assert-content and assert-unique-ref of TILs; - fix wrong "post.date" in pastebin entry in site.json; --- _config.yml | 72 +++++++++++++++++++++++++++++++++++++++---------------------- 1 file changed, 46 insertions(+), 26 deletions(-) (limited to '_config.yml') diff --git a/_config.yml b/_config.yml index 35e9d05..4990238 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ --- -title: EuAndreh::blog +title: EuAndreh url: "https://euandre.org" author: name: EuAndreh @@ -30,48 +30,68 @@ exclude: collections: pastebins: output: true + tils: + output: true t: about: en: "About" pt: "Sobre" about_url: - en: '/about.html' - pt: '/sobre.html' + en: "/about.html" + pt: "/sobre.html" + til: + en: "TIL" + pt: "HEA" + til_url: + en: "/til.html" + pt: "/hea.html" + til_listing: + en: "TIL Listing" + pt: "Lista de HEA" home: en: "EuAndreh's blog" pt: "Blog do EuAndreh" home_url: - en: '/' - pt: '/pt/' + en: "/en/" + pt: "/pt/" recent_posts: - en: 'Recent posts' - pt: 'Postagens recentes' - feed_title: - en: "EuAndreh's Feed" - pt: "Feed do EuAndreh" - feed_url: - en: '/feed.en.atom' - pt: '/feed.pt.atom' + en: "Recent posts" + pt: "Postagens recentes" + feed: + title: + blog: + en: "EuAndreh's blog feed" + pt: "Feed do blog do EuAndreh" + til: + en: "EuAndreh's TIL feed" + pt: "Feed do HEA do EuAndreh" + url: + blog: + en: "/feed.blog.en.atom" + pt: "/feed.blog.pt.atom" + til: + en: "/feed.til.en.atom" + pt: "/feed.til.pt.atom" date_format: - en: '%B %-d, %Y' - pt: '%-d de %B de %Y' + en: "%B %-d, %Y" + pt: "%-d de %B de %Y" posted_on: - en: 'Posted on' - pt: 'Postado em' + en: "Posted on" + pt: "Postado em" updated_at: - en: 'Updated at' - pt: 'Atualizado em' + en: "Updated at" + pt: "Atualizado em" alt: - blog_feed: - en: 'Blog feed' - pt: 'Feed do blog' + atom: + en: "Atom/RSS icon" + pt: "Ícone de Atom/RSS" envelope_icon: - en: 'Envelope icon' - pt: 'Ícone de envelope' + en: "Envelope icon" + pt: "Ícone de envelope" lock_icon: - en: 'Lock icon' - pt: 'Ícone de fechadura' + en: "Lock icon" + pt: "Ícone de fechadura" footer: en: >- The content for this site is licensed under CC-BY-SA. The code is GPLv3 or later. -- cgit v1.2.3