Commit 6bd4f03a authored by Kaushal Modi's avatar Kaushal Modi
parent a0f3dc28
#+hugo_base_dir: ../
#+author:
* Ox-hugo Issue 210 (Articles section)
:PROPERTIES:
:EXPORT_HUGO_SECTION: ox-hugo-issue-210
:END:
** Articles Index page
:PROPERTIES:
:EXPORT_FILE_NAME: _index
:HUGO_MENU: :menu main
:END:
Content of Article Index.
[[https://github.com/kaushalmodi/ox-hugo/issues/210#issuecomment-424494895][Ref]]
[[https://scripter.co/hugo-leaf-and-branch-bundles/][scripter.co -- Leaf and Branch Bundles]]
** First Article Bundle
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: first-article
:END:
*** First Article
:PROPERTIES:
:EXPORT_FILE_NAME: index
:END:
Content of First Article. This has to be a *Leaf* bundle (~index~, not
~_index~).
*** First Article Section One
:PROPERTIES:
:EXPORT_FILE_NAME: section-one
:END:
Content of First Article Section One
*** First Article Section Two
:PROPERTIES:
:EXPORT_FILE_NAME: section-two
:END:
Content of First Article Section Two
** Second Article Leaf Bundle
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: second-article
:END:
*** Second Article
:PROPERTIES:
:EXPORT_FILE_NAME: index
:END:
Content of Second Article. This has to be a *Leaf* bundle (~index~, not
~_index~).
*** Second Article Section One
:PROPERTIES:
:EXPORT_FILE_NAME: section-one
:END:
Content of Second Article Section One
*** Second Article Section Two
:PROPERTIES:
:EXPORT_FILE_NAME: section-two
:END:
Content of Second Article Section Two
+++
title = "Articles Index page"
draft = false
+++
Content of Article Index.
[Ref](https://github.com/kaushalmodi/ox-hugo/issues/210#issuecomment-424494895)
[scripter.co -- Leaf and Branch Bundles](https://scripter.co/hugo-leaf-and-branch-bundles/)
+++
title = "First Article"
draft = false
+++
Content of First Article. This has to be a **Leaf** bundle (`index`, not
`_index`).
+++
title = "First Article Section One"
draft = false
+++
Content of First Article Section One
+++
title = "First Article Section Two"
draft = false
+++
Content of First Article Section Two
+++
title = "Second Article"
draft = false
+++
Content of Second Article. This has to be a **Leaf** bundle (`index`, not
`_index`).
+++
title = "Second Article Section One"
draft = false
+++
Content of Second Article Section One
+++
title = "Second Article Section Two"
draft = false
+++
Content of Second Article Section Two
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment