Add a post
To add a new post to your blog, simply create a file in the directory xx/_postsi, où xx is the code for your language. This file must have a name beginning with YYYY-MM-DD-, where YYYY is the year, MM is the month and DD is the day of the month, its extension must be «.md» to show that it is a file markdown.
This file must start with a header in YAML format as follows:
---
lang: xx
lang-niv: fonto
lang-ref: yyy
layout: post
title: 'zzz'
---
The fields to change are:
-
lang: : replace xx with the code of your language.
-
lang-ref : this field allows you to identify the page, replace yyy with what you want, the only limitation is that it must be unique in your blog.
-
title: : replace zzz with the title of your post.
Now add the content of your post, and when you are satisfied with your text, start the translation with the script traduki that is in the folder scripts. You can launch it either from the command line or from the file explorer.