diff options
-rw-r--r-- | exampleSite/config.yaml | 2 | ||||
-rw-r--r-- | netlify.toml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 03809ee..b43dcba 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -1,5 +1,5 @@ theme: someparts-hugo -baseURL: https://someparts-hugo.netlify.com/ +baseURL: https://example.com/ copyright: CC BY-NC-SA 4.0 international enableGitInfo: true disableKinds: diff --git a/netlify.toml b/netlify.toml index 15c8c92..aed0edc 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,6 +1,6 @@ [build] publish = "exampleSite/public" - command = "cd exampleSite && hugo --gc --themesDir ../.." + command = "cd exampleSite && sed -i s/https\:\/\/example\.com\//${URL}\//g config.yaml && hugo --gc --themesDir ../.." [build.environment] HUGO_VERSION = "0.63.2" |