diff options
author | Hidenori MATSUKI <MATSUKI.Hidenori@gmail.com> | 2018-10-07 19:12:04 +0300 |
---|---|---|
committer | Hidenori MATSUKI <MATSUKI.Hidenori@gmail.com> | 2018-10-07 19:26:50 +0300 |
commit | b72406f7c1670172bae64632c9a23ec9c4de0752 (patch) | |
tree | 812443db851b49bdd8e4bb765b8c2f549e482a6c | |
parent | acef5a9453d49421512313828d7be03025916d58 (diff) |
Set themesDir on docker-compose.
-rw-r--r-- | .circleci/config.yml | 2 | ||||
-rw-r--r-- | example-site/config.toml | 2 | ||||
-rw-r--r-- | example-site/docker-compose.yml | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index f396d54..8cd9faf 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -9,7 +9,7 @@ jobs: <<: *defaults steps: - checkout - - run: cd example-site && sed -i '1s/publishDir = "public/techlog-simple"\n/' config.toml + - run: cd example-site && sed -i '1ipublishDir = "public/techlog-simple"' config.toml - run: name: Build Website command: cd example-site && hugo --baseURL="https://${GCLOUD_PROJECT}.firebaseapp.com/techlog-simple" --themesDir="../.." diff --git a/example-site/config.toml b/example-site/config.toml index 618ef6c..4493274 100644 --- a/example-site/config.toml +++ b/example-site/config.toml @@ -1,6 +1,4 @@ baseURL = "http://example.org/" -relativeURLs = true -canonifyURLs = true languageCode = "en-us" title = "A Hugo theme" theme = "techlog-simple" diff --git a/example-site/docker-compose.yml b/example-site/docker-compose.yml index 42df212..11714b7 100644 --- a/example-site/docker-compose.yml +++ b/example-site/docker-compose.yml @@ -3,7 +3,7 @@ services: website: build: . working_dir: /techlog-simple/example-site - command: hugo server --bind 0.0.0.0 --buildDrafts + command: hugo server --themesDir="../.." --bind 0.0.0.0 --buildDrafts volumes: - ../:/techlog-simple ports: |