summaryrefslogtreecommitdiff
path: root/_config.yml
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-08-12 06:34:38 -0300
committerEuAndreh <eu@euandre.org>2020-08-12 06:56:04 -0300
commit191728a2cac217e96a7f1e4e9a4710606f6ad920 (patch)
treebbcf9c17bb3bd462f8d1c41169d1122b08161d18 /_config.yml
parentassert-content.sh: Look at post refs too, not only pages (diff)
downloadeuandre.org-191728a2cac217e96a7f1e4e9a4710606f6ad920.tar.gz
euandre.org-191728a2cac217e96a7f1e4e9a4710606f6ad920.tar.xz
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" -> <web>EuAndreh</web>; - 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;
Diffstat (limited to '')
-rw-r--r--_config.yml72
1 files changed, 46 insertions, 26 deletions
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: <web>EuAndreh</web>
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 <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC-BY-SA</a>. The <a href="https://git.sr.ht/~euandreh/website">code</a> is <a href="https://git.sr.ht/~euandreh/website/tree/master/LICENSE">GPLv3 or later</a>.