From 95894a8849f11fc3b1f26219ee9238bc797476cf Mon Sep 17 00:00:00 2001 From: Julio Biason Date: Mon, 30 Dec 2019 18:33:20 -0300 Subject: [PATCH] Further multilingual support --- config.toml | 2 + content/_index.pt.md | 6 +++ content/announcements/juliobiason.net-3.0.md | 39 ------------------- ...biason.net-4.0.md => juliobiasonnet-40.md} | 1 + content/code/_index.pt.md | 4 ++ content/code/on-unittests-and-layers-2.md | 2 +- content/presentations/_index.pt.md | 4 ++ content/reviews/_index.pt.md | 4 ++ content/reviews/books/_index.pt.md | 4 ++ 9 files changed, 26 insertions(+), 40 deletions(-) create mode 100644 content/_index.pt.md delete mode 100644 content/announcements/juliobiason.net-3.0.md rename content/announcements/{juliobiason.net-4.0.md => juliobiasonnet-40.md} (97%) create mode 100644 content/code/_index.pt.md create mode 100644 content/presentations/_index.pt.md create mode 100644 content/reviews/_index.pt.md create mode 100644 content/reviews/books/_index.pt.md diff --git a/config.toml b/config.toml index f163401..1502291 100644 --- a/config.toml +++ b/config.toml @@ -15,6 +15,8 @@ taxonomies = [ # You can enable/disable RSS {name = "categories", rss = true}, {name = "tags", rss = true}, + {name = "tags", lang = "en"}, + {name = "tags", lang = "pt"}, ] generate_rss = true diff --git a/content/_index.pt.md b/content/_index.pt.md new file mode 100644 index 0000000..6663c55 --- /dev/null +++ b/content/_index.pt.md @@ -0,0 +1,6 @@ ++++ +sort_by = "date" + +paginate_by = 10 ++++ + diff --git a/content/announcements/juliobiason.net-3.0.md b/content/announcements/juliobiason.net-3.0.md deleted file mode 100644 index 0b8103c..0000000 --- a/content/announcements/juliobiason.net-3.0.md +++ /dev/null @@ -1,39 +0,0 @@ -+++ -title = "Announcing JulioBiason.Net 3.0" -date = 2015-02-18 -category = "announcements" - -[taxonomies] -tags = ["meta", "blog", "pelican"] -+++ - -Short version: New blog URL, engine and layout. - - - -Long version: For a long time already, I've been thinking about using a static -blog generator. Not that there is anything wrong with dynamic blog engines (and -I'm a long time [WordPress](https://wordpress.org/) user, without any issues, -specially since my hosting company -- [Dreamhost](http://www.dreamhost.com/) -- -offers easy updates), but... I don't know, I think it's easy to automate some -stuff when all you have are basic files, with no API to talk to. - -So, here it is. A new blog URL, so all old posts are still visible in their -original paths (although this will be a problem in the future when I decide to -launch a 4.0 blog, but that's a problem for the future); a new engine, as -WordPress is not static, so I decided to go with -[Pelican](http://blog.getpelican.com/), simply because I know Python (I know -there is a huge community for [Jekyll](http://jekyllrb.com/), but I'm not a -Ruby guy and I don't want to be a Ruby guy); and finally a new layout, as I -took everything I've been playing with [Zurb -Foundation](http://foundation.zurb.com/) and, since I'd automagically gain a -responsive layout, I did just that. And yes, the -[theme](https://bitbucket.org/juliobiason/pelican-fancy-foundation) is my -creation -- and that's why there is a bunch of broken stuff. I'll be fixing -them in the future, as I see them -- or someone reports them to me. - -PS: There is actually a hidden thing, some [things I don't want to deal -again](http://juliobiason.net/2008/02/23/why-half-life-2-failed/), which could -probably crippling me in what to write (hence why the content was so dull and -boring in the last few months). Because static blogs don't have comments, I may -feel fine in finally discussing them. diff --git a/content/announcements/juliobiason.net-4.0.md b/content/announcements/juliobiasonnet-40.md similarity index 97% rename from content/announcements/juliobiason.net-4.0.md rename to content/announcements/juliobiasonnet-40.md index ef5dcf9..a44af59 100644 --- a/content/announcements/juliobiason.net-4.0.md +++ b/content/announcements/juliobiasonnet-40.md @@ -2,6 +2,7 @@ title = "Announcing JulioBiason.Net 4.0" date = 2018-11-28 category = "announcements" +language = "en" [taxonomies] tags = ["meta", "blog", "zola"] diff --git a/content/code/_index.pt.md b/content/code/_index.pt.md new file mode 100644 index 0000000..36c4916 --- /dev/null +++ b/content/code/_index.pt.md @@ -0,0 +1,4 @@ ++++ +title = "Code" +transparent = true ++++ diff --git a/content/code/on-unittests-and-layers-2.md b/content/code/on-unittests-and-layers-2.md index 169b5bb..443fb27 100644 --- a/content/code/on-unittests-and-layers-2.md +++ b/content/code/on-unittests-and-layers-2.md @@ -13,7 +13,7 @@ about "Fast Test, Slow Test". Just after posting about -[who one could see the layers through unit testing](./code/on-unittests-and-layers.md), +[who one could see the layers through unit testing](@/code/on-unittests-and-layers.md), I finally watched a video of Gary Bernhardt (of the "DestroyAllSoftware" fame) about "Fast Test, Slow Test": diff --git a/content/presentations/_index.pt.md b/content/presentations/_index.pt.md new file mode 100644 index 0000000..8fd8769 --- /dev/null +++ b/content/presentations/_index.pt.md @@ -0,0 +1,4 @@ ++++ +transparent = true +title = "Presentation Companion Posts" ++++ diff --git a/content/reviews/_index.pt.md b/content/reviews/_index.pt.md new file mode 100644 index 0000000..7393df5 --- /dev/null +++ b/content/reviews/_index.pt.md @@ -0,0 +1,4 @@ ++++ +transparent = true +title = "Reviews" ++++ diff --git a/content/reviews/books/_index.pt.md b/content/reviews/books/_index.pt.md new file mode 100644 index 0000000..c9c1dfb --- /dev/null +++ b/content/reviews/books/_index.pt.md @@ -0,0 +1,4 @@ ++++ +transparent = true +title = "Book Reviews" ++++