Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / reveal-hugo / exampleSite / content / bundle-example / index.md
blob: 087bffeef3dead247bcceff6534abd95a0dc88b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
+++
title = "Bundle example presentation"
outputs = ["Reveal"]
layout = "bundle"
[reveal_hugo]
theme = "night"
margin = 0.2
+++

# Page Bundles

---

[Hugo page bundles](https://gohugo.io/content-management/page-bundles/) are a useful way to organize content.

---

To create a reveal-hugo presentation from the `index.md` file of a leaf page bundle, you need to specify the layout manually.

```toml
layout = "bundle"
```

---

Why? By default, reveal-hugo doesn't create pages for single template types (foo.md), only for list template types (_index.md).

---

This technique can also be used to output an HTML file for any section of a presentation, should you need to.