Website Summary Files Commits Branches @commit @diff @stats
path: root / website / themes / reveal-hugo / exampleSite / data
diff options
context:
space:
mode:
Commit3245f1f1404785d92c21eb381c08dee5a4be6bb7 (patch)
Author
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Committer
 Dimitar Trendafilov <dimitar@coherent-labs.com>
2018-09-04 09:08:41 +0300
Files3c245582fb5a2a9eaf8518f7272c03a6aaa2f635 /website/themes/reveal-hugo/exampleSite/data
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.tar.gz
IPL-3245f1f1404785d92c21eb381c08dee5a4be6bb7.zip
Parentae12c0a482298e4da9b816137ceb6131c7d4b9e4 (diff)
Moved site to website folder
1 files changed, 42 insertions, 0 deletions
-rw-r--r--website/themes/reveal-hugo/exampleSite/data/home.toml42
diff --git a/website/themes/reveal-hugo/exampleSite/data/home.toml b/website/themes/reveal-hugo/exampleSite/data/home.toml
new file mode 100644
index 0000000..f242290
--- /dev/null
+++ b/website/themes/reveal-hugo/exampleSite/data/home.toml
@@ -0,0 +1,42 @@
+example = '''
+
+# Reusable slides
+
+Store markdown in a [data template](https://gohugo.io/templates/data-templates/) and reuse it in multiple sections or presentations.
+
+<br>
+<small>
+navigate down to learn more
+</small>
+<br>
+<a href="#" class="navigate-down">🔽</a>
+
+---
+
+Add an `example` key to data/home.toml:
+
+```
+example = "I'm a slide"
+```
+<br>
+
+Set the `content` attribute to "home.example":
+
+```
+{{% slide content="home.example" /%}}
+```
+
+<br>
+<small>
+💡 Make sure to use a closing or self-closing shortcode.
+</small>
+
+---
+
+💡 Each data template entry can contain one or more slides, separated by `---` with newlines.
+
+---
+
+💡 All other slide shortcode attributes (background, transition, etc.) can be used and will be applied to each slide in the data template entry.
+
+'''