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; --- _layouts/tils-listing.html | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 _layouts/tils-listing.html (limited to '_layouts/tils-listing.html') diff --git a/_layouts/tils-listing.html b/_layouts/tils-listing.html new file mode 100644 index 0000000..e254125 --- /dev/null +++ b/_layouts/tils-listing.html @@ -0,0 +1,18 @@ +--- +layout: default +--- +

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

+{{ content }} + -- cgit v1.2.3