about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--content/posts/2021-01-02-wordpress.fr.md18
-rw-r--r--content/posts/2021-01-02-wordpress.md16
-rw-r--r--content/posts/2021-01-09-big-tech.md2
-rw-r--r--content/posts/2021-01-11-openring.fr.md22
-rw-r--r--content/posts/2021-01-11-openring.md24
-rw-r--r--content/posts/2021-02-08-naming.md2
-rw-r--r--content/posts/2021-04-12-interjection.md2
-rw-r--r--content/posts/2021-05-01-accessible-web.md4
8 files changed, 45 insertions, 45 deletions
diff --git a/content/posts/2021-01-02-wordpress.fr.md b/content/posts/2021-01-02-wordpress.fr.md
index d82ee2a..35df353 100644
--- a/content/posts/2021-01-02-wordpress.fr.md
+++ b/content/posts/2021-01-02-wordpress.fr.md
@@ -1,8 +1,8 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-01-02 14:44:00 +0700
 lang: fr
-tags: [blog, wordpress, writing, selfhost]
+tags: [[blog], wordpress, writing, selfhost]
 title:  "Je quitte WordPress"
 translationKey: "give-up-wp"
 ---
@@ -11,7 +11,7 @@ Pendant la semaine dernière, j'installe à peine ma propre instance de
 WordPress, parce que j'ai accès à un serveur et je peux utiliser un nom de
 domaine gratuit.  Mais c'était quel horreur. <!--more-->
 
-# Pourquoir écrire un blog
+# Pourquoir écrire un [blog]
 
 J'écris pour le faire mieux (et pour me défier d'écrire des articles en langues
 à part anglais). Il y avait longtemps que je n'ai rien écrit que le code.  Mais
@@ -27,9 +27,9 @@ publications en ordre.
 
 # Choisir WordPress
 
-WordPress c'est une plate-forme populaire pour bloguer. Au début je pensais de
+WordPress c'est une plate-forme populaire pour [blog]uer. Au début je pensais de
 choisir wordpress.com, car il est déjà hébergé. Mais j'ai découvert qu'il
-mettrait des pubs sur mes blogs sans mon approbation. De plus, si j'héberge
+mettrait des pubs sur mes [blog]s sans mon approbation. De plus, si j'héberge
 moi-même, j'ai du contrôle.  Je ne veux pas que mes lecteurs doivent voir les
 pubs qui sont mis par un tiers.
 
@@ -70,8 +70,8 @@ absolus, sinon le lien serait cassé et ne marcherait pas.
 # Changer le nom casse les liens
 
 WordPress utilise apparemment des liens absolus
-(`example.com/blog/quelque-chose`) au lieu des liens relatifs
-(`/blog/quelque-chose`).  C'est pas un bon pratique : si je change l'hébergeur
+(`example.com/[blog]/quelque-chose`) au lieu des liens relatifs
+(`/[blog]/quelque-chose`).  C'est pas un bon pratique : si je change l'hébergeur
 ou le nom de domaine (qui arrivera sûrement, car les noms de domaine gratuits
 expireront tôt ou tard).  Je l'ai découvert quand je changeais d'IP de
 l'hébergeur au nom de domaine.
@@ -98,9 +98,9 @@ attendu.
 
 J'ai essayé [jekyll][jekyll], et c'est merveilleux.
 
-Maintenant mon blog est sur [GitHub](https://huy-ngo.github.io) et
+Maintenant mon [blog] est sur [GitHub](https://huy-ngo.github.io) et
 [huyngo.cf](http://huyngo.cf). GitHub ne supporte pas des thèmes que j'utilise,
-alors là le blog n'apparaît correctement.
+alors là le [blog] n'apparaît correctement.
 
 Jekyll est meilleur que WriteFreely pour moi, parce que les posts sont stockés
 simplement comme texte plain, par contre WriteFreely les stocke dans SQL, ce
diff --git a/content/posts/2021-01-02-wordpress.md b/content/posts/2021-01-02-wordpress.md
index 8bd82a0..3a53981 100644
--- a/content/posts/2021-01-02-wordpress.md
+++ b/content/posts/2021-01-02-wordpress.md
@@ -1,22 +1,22 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-01-02 14:44:00 +0700
 lang: en
 translationKey: "give-up-wp"
-tags: [blog, wordpress, writing, selfhost]
+tags: [[blog], wordpress, writing, selfhost]
 title:  "Giving up on WordPress!"
 ---
 For the last week, I was trying to setting up my own WordPress instance, since I have access to a server and use a free domain name. It was such a hassle. <!--more-->
 
-## Why I want to start a blog
+## Why I want to start a [blog]
 
 Writing is a way of polishing my writing skills. For so long, all what I write has been only code. Now that I'm close to my graduation, writing long text suddenly becomes important to me - I need to write reports and after that my thesis.
 
-It is also a way of expressing myself. Social media is a shorter version for this, and they may attract more interactions from people you know, but blog on the other hand helps you express your idea and opinion publicly. They're also much more organized in the sense that my list of posts does not contain shares from other users, or that I can use hashtags to categorize my posts.
+It is also a way of expressing myself. Social media is a shorter version for this, and they may attract more interactions from people you know, but [blog] on the other hand helps you express your idea and opinion publicly. They're also much more organized in the sense that my list of posts does not contain shares from other users, or that I can use hashtags to categorize my posts.
 
 ## Choosing WordPress
 
-At first I was thinking of using wordpress.com, since it's already hosted, but then I realized they can put ads on my blogs without my consent (well, technically, they would have my consent if I used their service). On top of that, I always prefer self-hosting whenever possible: I have all control (doubt) over what is running and what not. I would not what a third party to track my readers or showing them ads on my blog.
+At first I was thinking of using wordpress.com, since it's already hosted, but then I realized they can put ads on my [blog]s without my consent (well, technically, they would have my consent if I used their service). On top of that, I always prefer self-hosting whenever possible: I have all control (doubt) over what is running and what not. I would not what a third party to track my readers or showing them ads on my blog.
 
 The server was running on Ubuntu 16.04. That is a rather old one, so it doesn't support latest packages, including Apache, PHP, and WordPress (they do have WordPress in the Ubuntu repo), and I dare not upgrade it.
 
@@ -32,7 +32,7 @@ I have recently been using docker quite regularly, e.g. for CouchDB and RethinkD
 
 And nice, it did run.
 
-Now I need to set up a domain name for the blog.
+Now I need to set up a domain name for the [blog].
 
 ## Port forwarding
 
@@ -48,7 +48,7 @@ After I fixed that, it worked nicely.
 
 ## Different name == broken website
 
-WordPress uses absolute path (`example.com/blog/something`) rather than relative path (`/blog/something`). This leads to a problem: if I want to migrate to another domain name (guaranteed to happen, since I use a free domain name that will expire eventually). I discovered this when I moved from a port to different port, and from host IP to domain name. It frustrates me, but it isn't a big problem for now.
+WordPress uses absolute path (`example.com/[blog]/something`) rather than relative path (`/blog/something`). This leads to a problem: if I want to migrate to another domain name (guaranteed to happen, since I use a free domain name that will expire eventually). I discovered this when I moved from a port to different port, and from host IP to domain name. It frustrates me, but it isn't a big problem for now.
 
 ## Disappointing experience
 
@@ -70,4 +70,4 @@ Fortunately, write.as already feels right to me - no ads, and tracking is easily
 
 Well, I just installed (it was actually easy!), and now I've moved to divers.ml
 
-New update: I just tried jekyll, and it's awesome. Now my blog is hosted on [GitHub](https://huy-ngo.github.io). I guess I will leave the domain unused.
+New update: I just tried jekyll, and it's awesome. Now my [blog] is hosted on [GitHub](https://huy-ngo.github.io). I guess I will leave the domain unused.
diff --git a/content/posts/2021-01-09-big-tech.md b/content/posts/2021-01-09-big-tech.md
index a948d08..800cb22 100644
--- a/content/posts/2021-01-09-big-tech.md
+++ b/content/posts/2021-01-09-big-tech.md
@@ -1,5 +1,5 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-01-09 14:44:00 +0700
 lang: en
 translationKey: "big-bros"
diff --git a/content/posts/2021-01-11-openring.fr.md b/content/posts/2021-01-11-openring.fr.md
index 3f9354d..fb02016 100644
--- a/content/posts/2021-01-11-openring.fr.md
+++ b/content/posts/2021-01-11-openring.fr.md
@@ -1,22 +1,22 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-01-11 15:51:31 +0700
 lang: fr
-tags: [rss, blog, openring, tutorial]
-title:  "Ajouter des blogs qu'on suit avec openring"
+tags: [rss, [blog], openring, tutorial]
+title:  "Ajouter des [blog]s qu'on suit avec openring"
 translationKey: "openring-tutor"
 ---
 
-J'ai ajouté une section près du bas de page : une liste d'articles de blogs
+J'ai ajouté une section près du bas de page : une liste d'articles de [blog]s
 auxquels je m'abonne. Elle est générée par [openring], un outil qui reçoit le
 flux de RSS et génère un webring.
 
-Je l'ai découvert pendant lire [le blog de Drew DeVault][ddvault] (qui l'a
+Je l'ai découvert pendant lire [le [blog] de Drew DeVault][ddvault] (qui l'a
 créé).  Comme je pense qu'il est un moyen de soutenir les auteurs qu'on aime et
 cependant partager des articles géniaux aux lecteurs, alors, je l'ai ajouté
-dans mon blog.
+dans mon [blog].
 
-Ce post va vous apprendre comment l'ajouter à votre blog.
+Ce post va vous apprendre comment l'ajouter à votre [blog].
 
 # Installer openring
 
@@ -50,12 +50,12 @@ sudo cp openring /usr/local/bin/
 
 Selon le README de openring :
 
-> This is a tool for generating a webring from RSS feeds, so you can link to other blogs you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is:
+> This is a tool for generating a webring from RSS feeds, so you can link to other [blog]s you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is:
 > 
 > ```bash
 > openring \
 >   -s https://drewdevault.com/feed.xml \
->   -s https://emersion.fr/blog/rss.xml \
+>   -s https://emersion.fr/[blog]/rss.xml \
 >   -s https://danluu.com/atom.xml \
 >   < in.html \
 >   > out.html
@@ -63,7 +63,7 @@ Selon le README de openring :
 
 Le fichier `in.html` est un modèle duquel openring génère le HTML pour le flux.
 
-Je l'ai copié de [le blog de DeVault][ring-tmpl] (ne vous inquiétez pas, c'est
+Je l'ai copié de [le [blog] de DeVault][ring-tmpl] (ne vous inquiétez pas, c'est
 partagé avec un licence MIT), avec des modifications :
 
 - J'ai mis le webring dans un `div.wrapper`.
@@ -100,7 +100,7 @@ partagé avec un licence MIT), avec des modifications :
 
 # Chose à faire?
 
-Je génère le flux manuellement quand je mis mon blog à jour en ce moment.
+Je génère le flux manuellement quand je mis mon [blog] à jour en ce moment.
 C'est probablement pas une bonne chose si je veux que le webring soit à jour
 même quand je ne sois pas actif.  Un cronjob peut résoudre ce problème, mais je
 le laisse comme exercice pour les lecteurs.
diff --git a/content/posts/2021-01-11-openring.md b/content/posts/2021-01-11-openring.md
index 79aa5cc..ccb8e1e 100644
--- a/content/posts/2021-01-11-openring.md
+++ b/content/posts/2021-01-11-openring.md
@@ -1,21 +1,21 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-01-11 15:51:31 +0700
 lang: en
 translationKey: "openring-tutor"
-tags: [rss, blog, openring, tutorial]
-title:  "Using openring to add blogs you follow"
+tags: [rss, [blog], openring, tutorial]
+title:  "Using openring to add [blog]s you follow"
 ---
 
-You may notice that now my blog now has a new section near the footer: a list of articles
-from blogs I follow.  This is generated by [openring],
+You may notice that now my [blog] now has a new section near the footer: a list of articles
+from [blog]s I follow.  This is generated by [openring],
 a tool that read a list of RSS feeds and generate these.
 
-I found out about this when reading [Drew DeVault's blog][ddvault]
+I found out about this when reading [Drew DeVault's [blog]][ddvault]
 (who created openring).  I think it is a nice way
 to endorse authors we want to support and share cool things we read to our audience.
 
-In this blog, I will write a tutorial to use this with jekyll.
+In this [blog], I will write a tutorial to use this with jekyll.
 
 # Install openring
 
@@ -47,12 +47,12 @@ sudo cp openring /usr/local/bin/
 
 From openring's README:
 
-> This is a tool for generating a webring from RSS feeds, so you can link to other blogs you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is:
+> This is a tool for generating a webring from RSS feeds, so you can link to other [blog]s you like on your own blog. It's designed to be fairly simple and integrate with any static site generator. The basic usage is:
 > 
 > ```bash
 > openring \
 >   -s https://drewdevault.com/feed.xml \
->   -s https://emersion.fr/blog/rss.xml \
+>   -s https://emersion.fr/[blog]/rss.xml \
 >   -s https://danluu.com/atom.xml \
 >   < in.html \
 >   > out.html
@@ -60,12 +60,12 @@ From openring's README:
 
 The `in.html` is a template [whence] openring generate the HTML for the feed.
 
-I copied the template from [DeVault's blog][ring-tmpl] (don't worry, it's MIT-licensed),
+I copied the template from [DeVault's [blog]][ring-tmpl] (don't worry, it's MIT-licensed),
 with a little modification:
 
 - I wrap it in a `div.wrapper`. The `wrapper` class is a class in minima theme that limit the max width for readability and auto-collapse on smaller devices.
 - I use `footer-col` for each class. Since this is also styled by minima, I don't have to worry about it.
-- I added a thin border around each article with the following sass (also modified from DeVault's blog)
+- I added a thin border around each article with the following sass (also modified from DeVault's [blog])
 
 ```scss
 ---
@@ -93,7 +93,7 @@ with a little modification:
 
 # Future works?
 
-Currently, I generate the feed manually when I update my blog.
+Currently, I generate the feed manually when I update my [blog].
 This probably is not good enough if I want the webring to be updated
 even when I'm not active?
 A cronjob could solve this problem,
diff --git a/content/posts/2021-02-08-naming.md b/content/posts/2021-02-08-naming.md
index da48a91..d7f9175 100644
--- a/content/posts/2021-02-08-naming.md
+++ b/content/posts/2021-02-08-naming.md
@@ -1,5 +1,5 @@
 ---
-category: blog
+categories: [blog]
 date:   2021-02-08 17:14:08 +0700
 lang: en
 translationKey: "first-name-last-name"
diff --git a/content/posts/2021-04-12-interjection.md b/content/posts/2021-04-12-interjection.md
index a69d897..6b3a672 100644
--- a/content/posts/2021-04-12-interjection.md
+++ b/content/posts/2021-04-12-interjection.md
@@ -1,5 +1,5 @@
 ---
-category: blog
+categories: [blog]
 title: "I'd just like to interject for a moment"
 lang: en
 translationKey: interjection
diff --git a/content/posts/2021-05-01-accessible-web.md b/content/posts/2021-05-01-accessible-web.md
index aa173c9..8d7f584 100644
--- a/content/posts/2021-05-01-accessible-web.md
+++ b/content/posts/2021-05-01-accessible-web.md
@@ -1,5 +1,5 @@
 ---
-category: blog
+categories: [blog]
 title: "Designing web for accessibility"
 date: 2021-05-01T19:16:41+07:00
 tags: [web, accessibility]
@@ -54,7 +54,7 @@ Do you really need that image background?
 Large images are not only heavy, but it's also distracting from the actual
 content.
 
-Do you really need a cover image for each blog post? (I hate the fact that most
+Do you really need a cover image for each [blog] post? (I hate the fact that most
 WP themes promote this)
 
 Of course, images and videos have their place, just don't spam it and keep it