Simply commands to run the example site

Works around #4851
keep-around/453b08068cded937b0b1d5d260ecc931aef17e4d
dzello 4 years ago
parent 78a10ec2cb
commit e79f999528
  1. 2
      README.md
  2. 2
      exampleSite/config.toml
  3. 4
      netlify.toml
  4. 2
      package.json

@ -179,7 +179,7 @@ Not directly related to reveal-hugo, but these are some of my favorite Reveal.js
Contributions are very welcome. To run the example site in this repository locally, clone this repository and run:
```shell
hugo server -s exampleSite -d ../public --themesDir '../' --theme '.'
hugo server -s exampleSite
```
or simply...

@ -2,6 +2,8 @@ baseURL = "https://example.com/"
languageCode = "en-us"
title = "A Hugo theme for creating Reveal.js presentations"
disableKinds = ["sitemap", "RSS"]
theme = "."
themesDir = "../"
[author]
name = "Josh Dzielak"

@ -1,6 +1,6 @@
[build]
command = "hugo -s exampleSite -d ../public --themesDir '../' --theme '.'"
publish = "public"
command = "hugo -s exampleSite"
publish = "exampleSite/public"
[context.production.environment]
HUGO_VERSION = "0.37.1"

@ -1,6 +1,6 @@
{
"scripts": {
"start": "hugo server -s exampleSite -d ../public --themesDir '../' --theme '.'"
"start": "hugo server -s exampleSite"
},
"dependencies": {
"npm": "^6.0.0"

Loading…
Cancel
Save