aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRophy Tsai <rophy@users.noreply.github.com>2023-02-24 01:59:01 +0800
committerRophy Tsai <rophy@users.noreply.github.com>2023-02-24 01:59:01 +0800
commit2a82b393675bed26630a40c04e9d66e195b14ceb (patch)
tree478f6bbad217b03eb698d81a6a3220602d76d7df
parentdb474e411e96945ce905504fb0a3c97477fcd305 (diff)
fix: make example site uses exampleSite/ in this repo, which disables enableGitInfo, closes #260
-rw-r--r--Dockerfile2
-rw-r--r--exampleSite/config.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index f36d060..4583390 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,7 +7,7 @@ WORKDIR /cstate
RUN apk add --no-cache hugo git
# Download the example site
-RUN git clone -b master --depth=1 https://github.com/cstate/example /cstate
+COPY exampleSite /cstate
# Copy files from this repo into themes/cstate
RUN mkdir -p /cstate/themes/cstate
diff --git a/exampleSite/config.yml b/exampleSite/config.yml
index f968d0b..a3401c0 100644
--- a/exampleSite/config.yml
+++ b/exampleSite/config.yml
@@ -109,7 +109,7 @@ baseURL: https://example.com
#
# We recommend to keep this at `true`.
# BOOLEAN; `true`, `false`
-enableGitInfo: true
+enableGitInfo: false
############################################################