From 3245f1f1404785d92c21eb381c08dee5a4be6bb7 Mon Sep 17 00:00:00 2001 From: Dimitar Trendafilov Date: Tue, 4 Sep 2018 09:08:41 +0300 Subject: Moved site to website folder --- .../themes/reveal-hugo/exampleSite/data/home.toml | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 website/themes/reveal-hugo/exampleSite/data/home.toml (limited to 'website/themes/reveal-hugo/exampleSite/data') 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. + +
+ +navigate down to learn more + +
+🔽 + +--- + +Add an `example` key to data/home.toml: + +``` +example = "I'm a slide" +``` +
+ +Set the `content` attribute to "home.example": + +``` +{{% slide content="home.example" /%}} +``` + +
+ +💡 Make sure to use a closing or self-closing shortcode. + + +--- + +💡 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. + +''' -- cgit v1.3.1-26-gb76a