Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / reveal-hugo / exampleSite / content / bundle-example
diff options
context:
space:
mode:
Commit28e13917829d649c71ed1696519db8f1845466b3 (patch)
Author
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-10-04 08:20:14 +0300
Committer
 Dimitar Trendafilov <trendafilov.dn@gmail.com>
2020-10-04 08:20:14 +0300
Files9079ae947a4271ad835f1c9ad10516e6d43f7f20 /website/themes/reveal-hugo/exampleSite/content/bundle-example
IPL-28e13917829d649c71ed1696519db8f1845466b3.tar
IPL-28e13917829d649c71ed1696519db8f1845466b3.tar.gz
IPL-28e13917829d649c71ed1696519db8f1845466b3.zip
Parentb65dbe28ba20a14de4c194e93284f9f1a4aa8858 (diff)
Parent49eed25b200c0f5f0aba46baa3f7332d0e93b276 (diff)
Merge branch 'feature/themes'
- Switch theme to hugo-clarity - Move old content to 2018
diff --git a/website/themes/reveal-hugo/exampleSite/content/bundle-example/continued.md b/website/themes/reveal-hugo/exampleSite/content/bundle-example/continued.md
new file mode 100644
index 0000000..b2a4381
--- /dev/null
+++ b/website/themes/reveal-hugo/exampleSite/content/bundle-example/continued.md
@@ -0,0 +1,16 @@
++++
++++
+
+If more markdown files are present in the bundle, their contents will be added to the presentation.
+
+---
+
+Specify `weight` in the frontmatter if it's necessary to order them.
+
+---
+
+If you don't want them to be included, specify `layout = "list"` in the front matter instead of `layout = "bundle"`.
+
+---
+
+## THE END \ No newline at end of file
diff --git a/website/themes/reveal-hugo/exampleSite/content/bundle-example/index.md b/website/themes/reveal-hugo/exampleSite/content/bundle-example/index.md
new file mode 100644
index 0000000..087bffe
--- /dev/null
+++ b/website/themes/reveal-hugo/exampleSite/content/bundle-example/index.md
@@ -0,0 +1,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.