Use home folder for default presentation

Add an example presentation for a section
This commit is contained in:
dzello
2018-04-26 22:26:49 -07:00
parent cf355d22d8
commit dc44a78f9c
8 changed files with 16 additions and 2 deletions
+43
View File
@@ -0,0 +1,43 @@
+++
weight = 20
+++
# reveal-hugo
Presentation content lives in `content/reveal`.
Or manually set the type.
```toml
+++
type = "reveal"
+++
```
---
# reveal-hugo
Presentation sections are ordered by `weight`.
```toml
+++
weight = 20
+++
```
---
# reveal-hugo
Protip: use `fragment` shortcode to make content appear in sequence.
```
{{%/* fragment */%}} One {{%/* /fragment */%}}
{{%/* fragment */%}} Two {{%/* /fragment */%}}
{{%/* fragment */%}} Three {{%/* /fragment */%}}
```
{{% fragment %}} One {{% /fragment %}}
{{% fragment %}} Two {{% /fragment %}}
{{% fragment %}} Three {{% /fragment %}}
+11
View File
@@ -0,0 +1,11 @@
+++
weight = 30
+++
# reveal-hugo
If you want your markdown files to contain more than one slide...
🤔
...this theme is for you!
+30
View File
@@ -0,0 +1,30 @@
+++
weight = 10
+++
# reveal-hugo
One markdown file, multiple slides.
Separate slides with `---`
```markdown
# Slide 1
Body 1.
---
# Slide 2
Body 2.
```
---
# reveal-hugo
Hello!
I'm a new slide from the same markdown file.