goals:

  • create presentations very easy
  • using gohugo and revealjs
## create new hugo site
> hugo new site presentation_046

## change in directory
> cd presentation_046

## init a git repo
> git init

## clone repo as submodul
> git submodule add git@github.com:dzello/reveal-hugo.git themes/reveal-hugo

edit config.toml

theme = "reveal-hugo"

[markup.goldmark.renderer]
unsafe = true

[outputFormats.Reveal]
baseName = "index"
mediaType = "text/html"
isHTML = true

edit content/_index.md

# Hello world!

This is my first slide.

---

# Hello Jupiter!

This is my second slide.

create every new slide page with ---

root vs. section presentations

  1. content
    • home # special section for appending to root presentation
      • body.md # appends to the root presentation
      • conclusion.md # appends to the root presentation
    • _index.md # beginning of the root presentation
  2. ted-talk
    • _index.md # beginning of the ted talk presentation
    • body.md # appends to the ted talk presentation
    • conclusion.md # appends to the ted talk presentation

for more see https://github.com/dzello/reveal-hugo