From a3ac10926dabe53951fdcf616b4db321984aa2bc Mon Sep 17 00:00:00 2001 From: dzello Date: Thu, 26 Apr 2018 15:42:20 -0700 Subject: [PATCH] Locate Netlify-specific params in netlify.toml --- exampleSite/config.toml | 2 -- netlify.toml | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 8de56ff..f816f76 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -1,8 +1,6 @@ baseURL = "https://reveal-hugo.netlify.com/" languageCode = "en-us" title = "A Hugo theme for creating Reveal.js presentations" -theme = "." -themesDir = "../" [author] name = "Josh Dzielak" diff --git a/netlify.toml b/netlify.toml index 42423a9..c03f996 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,5 +1,5 @@ [build] -command = "hugo -s exampleSite -d ../public --themesDir ../../" +command = "hugo -s exampleSite -d ../public --themesDir '../' --theme '.'" publish = "public" [context.production.environment]