diff options
author | vjeantet <valere.jeantet@gmail.com> | 2020-09-26 13:22:46 +0300 |
---|---|---|
committer | vjeantet <valere.jeantet@gmail.com> | 2020-09-26 13:22:46 +0300 |
commit | 578067c5abc6983475347ae15816ecbc31a0bc9e (patch) | |
tree | 2a6e0241a79910f7044970ad6c338e7a015112da /exampleSite/content/content-and-customization/00-adding-content/page-slide/_index.md | |
parent | dcbde07a4d4d8abd7d19983c1201b66810ced579 (diff) |
docs : all examples are yaml
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.md | 60 |
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 |