Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md')
-rw-r--r--exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md60
1 files changed, 29 insertions, 31 deletions
diff --git a/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md b/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md
index c5f2df6..4e2cdcd 100644
--- a/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md
+++ b/exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md
@@ -16,10 +16,10 @@ A basic .md file can be rendered as a reveal.js presentation full screen.
To tell Hugo to consider a page as a slidedeck, just add a `type="slide"`in then frontmatter of your page.
-```toml
-+++
-type="slide"
-+++
+```yaml
+---
+type: "slide"
+---
```
@@ -39,19 +39,19 @@ Please read the [{{%icon book%}} doc from hakimel](https://github.com/hakimel/re
In the frontmatter of your page file, set **type** and **revealOptions** params
Your content will be served as a fullscreen revealjs presentation and revealOptions will be used to ajust its behaviour.
-```toml
- +++
- title = "Test slide"
- type="slide"
-
- theme = "league"
- [revealOptions]
- transition= 'concave'
- controls= true
- progress= true
- history= true
- center= true
- +++
+```yaml
+---
+title: "Test slide"
+type: slide
+
+theme: "league"
+revealOptions:
+ center: true
+ controls: true
+ history: false
+ progress: true
+ transition: concave
+---
```
[read more about reveal options here](https://github.com/hakimel/reveal.js/#configuration)
@@ -80,20 +80,18 @@ By using a combination of horizontal and vertical slides you can customize the n
For example, a very simple slideshow presentation can be created as follows
```md
-+++
-
-title = "test"
-date = "2017-04-24T18:36:24+02:00"
-type="slide"
-
-theme = "league"
-[revealOptions]
-transition= 'concave'
-controls= true
-progress= true
-history= true
-center= true
-+++
+---
+title: "test"
+type: "slide"
+
+theme: "league"
+revealOptions:
+ center: true
+ controls: true
+ history: false
+ progress: true
+ transition: concave
+---
# In the morning