template to get started quickly with Reveal-Hugo by @dzello
This template has the following in place from @dzello's Hugo theme:
- Installed Hugo and then created a new Hugo site via:
hugo new site my-presentation
cd my-presentation
-
Initialized the theme as a Hugo module (i.e.
hugo mod init github.com/jerdog/reveal-hugo-template
) -
Declared the Reveal+Hugo theme module as a dependency (i.e.
hugo mod get github.com/dzello/reveal-hugo
) -
Added the basic presentation starter file to
/content/_index.md
-
Added
.gitkeep
to the base Hugo folders so that the full structure comes over in the repo
- Make sure you have Hugo installed:
Mac
brew install hugo
Linux
sudo snap install hugo
Windows
choco install hugo-extended
- Click
Use this template
from the top right of the repo and create a new repository
- Update the
go.mod
file with the correct location of your GitHub repo:
// update the below to reflect your github repo location
module github.com/jerdog/reveal-hugo-template
- Update the Hugo theme module to the latest version:
hugo mod get -u github.com/dzello/reveal-hugo
To get up to speed on all other elements and usage of Reveal.js with Hugo, visit @dzello's README