This repository consists of a minimal template for creating presentations using reveal.js](https://revealjs.com/#/). The template is based on the reveal-hugo
Shortly, you can install Hugo on Ubuntu with:
sudo apt install hugo
If you are using other operating systems, please refer to the official documentation.
To use this template, you can click on the green button "Use this template" on the top right of this page.
Once you have created your repository, you can clone it with:
git clone --recurse-submodules <repo-url>
Pay attention to the --recurse-submodules
option, which is needed to clone the reveal.js submodule and the theme submodule.
Without this option, the theme will not be cloned and the presentation will not work.
To see the presentation in your browser, you can run:
hugo server -b http://localhost
and then open your browser at the address http://localhost:1313
.
The slides are written in markdown and are located in the content
folder, under _index.md
.
You can edit this file to create your presentation.
Otherwise, you can create a new file in the content
folder and add the following header in the beginning of the file:
+++
weight = <weight>
+++
Where <weight>
is a number that determines the order of the slides.
The lower the number, the higher the slide will be in the presentation.
If you want to see a complete example, you can check one of my presentations here](https://github.com/cric96/hello-aarhus)
For any other details, please refer to the reveal-hugo