Ref: The auto locale detection test failure ("ja_JP" vs "en_US") in
https://github.com/kaushalmodi/ox-hugo/issues/195#issuecomment-416486948
master
parent
f139244121
commit
cd33b6e356
4 changed files with 22 additions and 1 deletions
@ -1,6 +1,10 @@ |
||||
+++ |
||||
title = "Auto-detected locale in front-matter" |
||||
description = "Locale is not specified, so is auto-detected." |
||||
tags = ["front-matter", "locale", "auto-detect"] |
||||
draft = false |
||||
locale = "en_US" |
||||
+++ |
||||
|
||||
Locale exporting is enabled using `:EXPORT_HUGO_WITH_LOCALE: t` in the |
||||
post's parent subtree. |
||||
|
||||
@ -1,6 +1,10 @@ |
||||
+++ |
||||
title = "Specified locale in front-matter" |
||||
description = "Specify the locale using `:EXPORT_HUGO_LOCALE: es_ES` property." |
||||
tags = ["front-matter", "locale"] |
||||
draft = false |
||||
locale = "es_ES" |
||||
+++ |
||||
|
||||
Locale exporting is enabled using `:EXPORT_HUGO_WITH_LOCALE: t` in the |
||||
post's parent subtree. |
||||
|
||||
Loading…
Reference in new issue