Hugo Bundle

Specifying the Hugo Page Bundle directory name containing the _index.md (branch bundle index file) or index.md (page bundle index file).

To make an ox-hugo export happen to a Hugo Page Bundle, set the :EXPORT_HUGO_BUNDLE: property to the “name of the bundle”. For example, if the bundle needs to be generated as https://example.com/xyz/, set :EXPORT_HUGO_BUNDLE: xyz.

Leaf Bundle
Set :EXPORT_FILE_NAME: index
Branch Bundle
Set :EXPORT_FILE_NAME: _index

For file-based flow, use #+hugo_bundle and #+export_file_name keywords instead.

Examples #

Leaf Bundle #

Below will export to content/xyz/index.md.

* Page title
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: xyz
:EXPORT_FILE_NAME: index
:END:
Content

Branch Bundle #

Below will export to content/uvw/_index.md.

* Page title
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: uvw
:EXPORT_FILE_NAME: _index
:END:
Content

More Reading #

Fork me on GitHub