Simply commands to run the example site

Works around #4851
This commit is contained in:
dzello 2018-07-03 00:00:56 +02:00
parent 78a10ec2cb
commit e79f999528
4 changed files with 6 additions and 4 deletions

View File

@ -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...

View File

@ -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"

View File

@ -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"

View File

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