From d1ba8be7bb5c783c47603ce224e5bb327163fbfc Mon Sep 17 00:00:00 2001 From: n Date: Mon, 29 Jun 2020 16:10:04 +0900 Subject: [PATCH] modify config --- Makefile | 15 ++++++++------- config.yaml | 10 +++++++--- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 78de2d3..2d6f5f8 100644 --- a/Makefile +++ b/Makefile @@ -1,13 +1,14 @@ -THEME := themes/gitea +THEME := themes/codeberg PUBLIC := public -ARCHIVE := https://dl.gitea.io/theme/master.tar.gz +# ARCHIVE := https://dl.gitea.io/theme/master.tar.gz .PHONY: all all: build .PHONY: clean clean: - rm -rf $(PUBLIC) $(THEME) + rm -rf $(PUBLIC) + # $(THEME) .PHONY: trans-copy trans-copy: @@ -24,7 +25,7 @@ build: $(THEME) .PHONY: update update: $(THEME) -$(THEME): $(THEME)/theme.toml -$(THEME)/theme.toml: - mkdir -p $$(dirname $@) - curl -s $(ARCHIVE) | tar xz -C $$(dirname $@) +# $(THEME): $(THEME)/theme.toml +# $(THEME)/theme.toml: +# mkdir -p $$(dirname $@) +# curl -s $(ARCHIVE) | tar xz -C $$(dirname $@) diff --git a/config.yaml b/config.yaml index 7e670f2..9a7b606 100644 --- a/config.yaml +++ b/config.yaml @@ -1,4 +1,5 @@ -baseurl: https://docs.codeberg.org/ +# baseurl: https://docs.codeberg.org/ +baseurl: https://pages.codeberg.org/n/codeberg-docs/ languageCode: en-us title: Docs theme: codeberg @@ -7,6 +8,8 @@ defaultContentLanguage: en-us defaultContentLanguageInSubdir: true enableMissingTranslationPlaceholders: true enableEmoji: true +uglyurls: true +canonifyURLs: true permalinks: post: /:year/:month/:title/ @@ -17,7 +20,8 @@ permalinks: params: description: Git with a cup of tea author: The Codeberg Authors - website: https://docs.codeberg.org + # website: https://docs.codeberg.org + website: https://pages.codeberg.org/n/codeberg-docs/ version: 1.12.1 minGoVersion: 1.12 goVersion: 1.14 @@ -52,4 +56,4 @@ menu: languages: en-us: weight: 0 - languageName: English \ No newline at end of file + languageName: English