Multilingual export using ox-hugo

Hugo-modus supports multilingual now, it’ll display translation links for multilingual posts. As I’m blogging using Denote and Hugo, I changed the #+export_file_name by appending the locale such as: post-1.zh, expecting it to export post-1.zh.md but failed. The complete configuration is as the following:

#+hugo_base_dir: ~/src/hugo-modus/exampleSite
#+hugo_section: posts
#+export_file_name: post-1.zh

Then I found there is already a solution, which is as easy as appending .md, such as #+export_file_name: post-1.zh.md. The result is on the example site.

#emacs #hugo