From 2a82b393675bed26630a40c04e9d66e195b14ceb Mon Sep 17 00:00:00 2001 From: Rophy Tsai Date: Fri, 24 Feb 2023 01:59:01 +0800 Subject: fix: make example site uses exampleSite/ in this repo, which disables enableGitInfo, closes #260 --- Dockerfile | 2 +- exampleSite/config.yml | 2 +- 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 ############################################################ -- cgit v1.2.3-70-g09d2