Commit f2de2602 authored by Kaushal Modi's avatar Kaushal Modi

Add "bundle nesting" tests

parent 32ff41eb
#+HUGO_BASE_DIR: ../
#+SEQ_TODO: TODO DRAFT DONE
#+PROPERTY: header-args :eval no
#+MACRO: hugoissue Hugo Issue #[[https://github.com/gohugoio/hugo/issues/$1][$1]]
#+DATE: <2018-01-30 Tue>
#+HUGO_DATE_FORMAT: %Y-%m-%d
#+HUGO_SECTION: bundle-nesting
#+FILETAGS: bundle_nesting
#+MACRO: good ✅
#+MACRO: bad 🚫
* Bundle Nesting :section:
:PROPERTIES:
:EXPORT_FILE_NAME: _index
:END:
This is content in section "bundle-nesting".
* Branch Bundle 1 :branch_bundle:bb1:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1
:END:
** Index page of Branch Bundle 1 :___index:
:PROPERTIES:
:EXPORT_FILE_NAME: _index
:END:
This is content from "branch-bundle-1" =_index= page.
*This is not a section, it's a branch bundle.*
** Regular page 1 in Branch Bundle 1 :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: bb1-page1
:END:
Content in Regular page 1 in branch-bundle-1.
** Regular page 2 in Branch Bundle 1 :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: bb1-page2
:END:
Content in Regular page 2 in branch-bundle-1.
** Leaf Bundle b1.l1 :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1/leaf-bundle-1
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle b1.l1.
** Leaf Bundle b1.l2 :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1/leaf-bundle-2
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle b1.l2.
** Branch Bundle 2 in Branch Bundle 1 :branch_bundle:bb2:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1/branch-bundle-2
:END:
*** Index page of Branch Bundle 2 in Branch Bundle 1 :___index:
:PROPERTIES:
:EXPORT_FILE_NAME: _index
:END:
This is content from "branch-bundle-2" =_index= page, which is inside
"branch-bundle-1".
*This is not a section, it's a branch bundle.*
*** Regular page 1 in Branch Bundle 2 :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: bb2-page1
:END:
Content in Regular page 1 in branch-bundle-2.
*** Regular page 2 in Branch Bundle 2 :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: bb2-page2
:END:
Content in Regular page 2 in branch-bundle-2.
*** Leaf Bundle b1.b2.l1 :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1/branch-bundle-2/leaf-bundle-1
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle b1.b2.l1.
*** Leaf Bundle b1.b2.l2 :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: branch-bundle-1/branch-bundle-2/leaf-bundle-2
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle b1.b2.l2.
* Regular Page 1 in "bundle-nesting" section :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: regular1
:END:
Content in Regular page 1 in section "bundle-nesting".
* Regular Page 2 in "bundle-nesting" section :regular_page:
:PROPERTIES:
:EXPORT_FILE_NAME: regular2
:END:
Content in Regular page 2 in section "bundle-nesting".
* Leaf Bundle 1 in "bundle-nesting" section :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: leaf-bundle-1
:END:
** Leaf Bundle 1 in "bundle-nesting" section :leaf_bundle:
:PROPERTIES:
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle l1 in section "bundle-nesting".
** Page Resource 1 in Leaf Bundle 1 in "bundle-nesting" section :leaf_bundle:page_resource:
:PROPERTIES:
:EXPORT_FILE_NAME: l1-page-resource-1
:END:
Content in Page Resource 1 of Leaf bundle l1 in section
"bundle-nesting". *This is not published anywhere.*
** Page Resource 2 in Leaf Bundle 1 in "bundle-nesting" section :leaf_bundle:page_resource:
:PROPERTIES:
:EXPORT_FILE_NAME: l1-page-resource-2
:END:
Content in Page Resource 2 of Leaf bundle l1 in section
"bundle-nesting". *This is not published anywhere.*
* Leaf Bundle 2 in "bundle-nesting" section :leaf_bundle:
:PROPERTIES:
:EXPORT_HUGO_BUNDLE: leaf-bundle-2
:EXPORT_FILE_NAME: index
:END:
Content in Leaf bundle l2 in section "bundle-nesting".
+++
title = "Bundle Nesting"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "section"]
draft = false
+++
This is content in section "bundle-nesting".
+++
title = "Index page of Branch Bundle 1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "branch-bundle", "bb1", "_index"]
draft = false
+++
This is content from "branch-bundle-1" `_index` page.
**This is not a section, it's a branch bundle.**
+++
title = "Regular page 1 in Branch Bundle 1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "branch-bundle", "bb1", "regular-page"]
draft = false
+++
Content in Regular page 1 in branch-bundle-1.
+++
title = "Regular page 2 in Branch Bundle 1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "branch-bundle", "bb1", "regular-page"]
draft = false
+++
Content in Regular page 2 in branch-bundle-1.
+++
title = "Index page of Branch Bundle 2 in Branch Bundle 1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "bb1", "branch-bundle", "bb2", "_index"]
draft = false
+++
This is content from "branch-bundle-2" `_index` page, which is inside
"branch-bundle-1".
**This is not a section, it's a branch bundle.**
+++
title = "Regular page 1 in Branch Bundle 2"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "bb1", "branch-bundle", "bb2", "regular-page"]
draft = false
+++
Content in Regular page 1 in branch-bundle-2.
+++
title = "Regular page 2 in Branch Bundle 2"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "bb1", "branch-bundle", "bb2", "regular-page"]
draft = false
+++
Content in Regular page 2 in branch-bundle-2.
+++
title = "Leaf Bundle b1.b2.l1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "bb1", "branch-bundle", "bb2", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle b1.b2.l1.
+++
title = "Leaf Bundle b1.b2.l2"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "bb1", "branch-bundle", "bb2", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle b1.b2.l2.
+++
title = "Leaf Bundle b1.l1"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "branch-bundle", "bb1", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle b1.l1.
+++
title = "Leaf Bundle b1.l2"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "branch-bundle", "bb1", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle b1.l2.
+++
title = "Leaf Bundle 1 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle l1 in section "bundle-nesting".
+++
title = "Page Resource 1 in Leaf Bundle 1 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "leaf-bundle", "page-resource"]
draft = false
+++
Content in Page Resource 1 of Leaf bundle l1 in section
"bundle-nesting". **This is not published anywhere.**
+++
title = "Page Resource 2 in Leaf Bundle 1 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "leaf-bundle", "page-resource"]
draft = false
+++
Content in Page Resource 2 of Leaf bundle l1 in section
"bundle-nesting". **This is not published anywhere.**
+++
title = "Leaf Bundle 2 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "leaf-bundle"]
draft = false
+++
Content in Leaf bundle l2 in section "bundle-nesting".
+++
title = "Regular Page 1 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "regular-page"]
draft = false
+++
Content in Regular page 1 in section "bundle-nesting".
+++
title = "Regular Page 2 in \"bundle-nesting\" section"
author = ["Kaushal Modi"]
date = 2018-01-30
tags = ["bundle-nesting", "regular-page"]
draft = false
+++
Content in Regular page 2 in section "bundle-nesting".
Subproject commit 5e437f140dfe96c7ceee8eccc6b362c2eb2d6529
Subproject commit 7aae85ec5e0c6c2b19bb07130229a6dfbe1d21d1
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