diff --git a/README.md b/README.md index 8534e0a..5b20fe2 100644 --- a/README.md +++ b/README.md @@ -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... diff --git a/exampleSite/config.toml b/exampleSite/config.toml index a8fe8db..566acf7 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -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" diff --git a/netlify.toml b/netlify.toml index c03f996..80cef0f 100644 --- a/netlify.toml +++ b/netlify.toml @@ -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" diff --git a/package.json b/package.json index 62913d1..17ffe1f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "scripts": { - "start": "hugo server -s exampleSite -d ../public --themesDir '../' --theme '.'" + "start": "hugo server -s exampleSite" }, "dependencies": { "npm": "^6.0.0"