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: Contributions are very welcome. To run the example site in this repository locally, clone this repository and run:
```shell ```shell
hugo server -s exampleSite -d ../public --themesDir '../' --theme '.' hugo server -s exampleSite
``` ```
or simply... or simply...

View File

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

View File

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

View File

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