diff options
author | Sandro Leuchter <sandro.leuchter@dama.io> | 2020-02-13 04:06:52 +0300 |
---|---|---|
committer | Sandro Leuchter <sandro.leuchter@dama.io> | 2020-02-13 04:06:52 +0300 |
commit | c88ee07a05bcf136fd65145d5ff3b70ea445b467 (patch) | |
tree | 9a4808950e78d18dfb5410f17a7a23905c6ff99e | |
parent | 000017a7352bb9a0254d9e471e192751aca47c50 (diff) |
example.com as baseURL w/ netlify deployment under /
-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" |