From e5fee3099611919d0c542970c878d704cd299b6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Wed, 7 Mar 2018 01:20:04 +0100 Subject: [PATCH] Update page-bundles.md --- content/content-management/page-bundles.md | 23 ++++++---------------- 1 file changed, 6 insertions(+), 17 deletions(-) diff --git a/content/content-management/page-bundles.md b/content/content-management/page-bundles.md index 37b9947e7..fbb9025ca 100644 --- a/content/content-management/page-bundles.md +++ b/content/content-management/page-bundles.md @@ -14,19 +14,16 @@ menu : weight : 11 --- -Page Bundles are a way to organize the content files. It's useful for -cases where a page or section's content needs to be split into -multiple content pages for convenience or has associated attachments -like documents or images. +Page Bundles are a way to group [Page Resources](/content-management/page-resources/). -A Page Bundle can be one of two types: +A Page Bundle can be one of: -- Leaf Bundle -- Branch Bundle +- Leaf Bundle (leaf means it has no children) +- Branch Bundle (home page, section, taxonomy terms, taxonomy list) | | Leaf Bundle | Branch Bundle | |-----------------|--------------------------------------------------------|---------------------------------------------------------| -| Usage | Collection of content and attachments for single pages | Collection of content and attachments for section pages | +| Usage           | Collection of resources (pages, images etc.) for single pages | Collection of non-page resources (images etc.)for list pages | | Index file name | `index.md` [^fn:1] | `_index.md` [^fn:1] | | Layout type | `single` | `list` | | Nesting | Doesn't allow nesting of more bundles under it | Allows nesting of leaf/branch bundles under it | @@ -36,15 +33,7 @@ A Page Bundle can be one of two types: ## Leaf Bundles {#leaf-bundles} A _Leaf Bundle_ is a directory at any hierarchy within the `content/` -directory, that contains at least an **`index.md`** file. - -{{% note %}} -Here `md` (markdown) is used just as an example. You can use any file -type as a content resource as long as it is a MIME type recognized by -Hugo (`json` files will, as one example, work fine). If you want to -get exotic, you can define your own media type. -{{% /note %}} - +directory, that contains an **`index.md`** file. ### Examples of Leaf Bundle organization {#examples-of-leaf-bundle-organization}