Auto-detected locale in front-matter
tags:
front-matter
locale
auto-detect
Description/Summary
Locale is not specified, so is auto-detected.
Content
Locale exporting is enabled using :EXPORT_HUGO_WITH_LOCALE: t
in the
post’s parent subtree.
Page (Debug)
Page Variable | Value |
Name |
"Auto-detected locale in front-matter"
|
Title |
"Auto-detected locale in front-matter"
|
ResourceType |
"page"
|
Kind |
"page"
|
Section |
"posts"
|
Draft |
false
|
Type |
"posts"
|
Layout |
""
|
Permalink |
"https://ox-hugo.scripter.co/test/posts/locale-auto-detect/"
|
RelPermalink |
"/posts/locale-auto-detect/"
|
Data |
page.Data{} (type:page.Data) |
|
NextPage | Audio |
PrevPage | B |
NextInSection | Audio |
PrevInSection | Bind footnotes to the preceding word |
Page Params (Debug)
Key | Type | Value |
description | string |
"Locale is not specified, so is auto-detected."
|
draft | bool |
false
|
iscjklanguage | bool |
false
|
lastmod | time.Time |
2018-08-28 10:54:39 -0400 -0400
|
locale | string |
"en_US"
|
tags | []string |
"front-matter"
"locale"
"auto-detect"
|
title | string |
"Auto-detected locale in front-matter"
|
File Object (Debug)
FileInfo Variable | Value |
UniqueID |
"1a21aeae6c99cdc52c905b6da0f9d1a6"
|
BaseFileName |
"locale-auto-detect"
|
TranslationBaseName |
"locale-auto-detect"
|
Lang |
"en"
|
Section |
"posts"
|
LogicalName |
"locale-auto-detect.md"
|
Dir |
"posts/"
|
Ext |
"md"
|
Path |
"posts/locale-auto-detect.md"
|