Setting empty outputs is fine
tags:
outputs
empty
Description/Summary
If the EXPORT_HUGO_OUTPUTS property is left empty/unset, ox-hugo will not set the outputs variable in the front-matter at all. So only the HTML output will be created (default).
Content
If the EXPORT_HUGO_OUTPUTS property is left empty/unset, ox-hugo
will not set the outputs variable in the front-matter at all. So
only the HTML output will be created (default).
Page (Debug)
| Page Variable | Value |
| Name |
"Setting empty outputs is fine"
|
| Title |
"Setting empty outputs is fine"
|
| ResourceType |
"page"
|
| Kind |
"page"
|
| Section |
"posts"
|
| Draft |
false
|
| Type |
"posts"
|
| Layout |
""
|
| Permalink |
"https://ox-hugo.scripter.co/test/posts/output-empty/"
|
| RelPermalink |
"/posts/output-empty/"
|
| Data |
| page.Data{} (type:page.Data) |
|
| NextPage | Section 1B |
| PrevPage | Single author |
| NextInSection | Replace keys using multiple properties |
| PrevInSection | Single author |
Page Params (Debug)
| Key | Type | Value |
| draft | bool |
false
|
| iscjklanguage | bool |
false
|
| lastmod | time.Time |
2017-11-15 19:04:09 -0500 -0500
|
| tags | []string |
"outputs"
"empty"
|
| title | string |
"Setting empty outputs is fine"
|
File Object (Debug)
| FileInfo Variable | Value |
| UniqueID |
"ec4c2d618d6a08515803b97c8e1338d1"
|
| BaseFileName |
"output-empty"
|
| TranslationBaseName |
"output-empty"
|
| Lang |
"en"
|
| Section |
"posts"
|
| LogicalName |
"output-empty.md"
|
| Dir |
"posts/"
|
| Ext |
"md"
|
| Path |
"posts/output-empty.md"
|