Compare commits

..

No commits in common. "999a20534d6c3f8589745c042c3b3351d14feb23" and "34d7ef0272efc7c9594d22270dc5914274587cc5" have entirely different histories.

2 changed files with 7 additions and 8 deletions

View File

@ -1,17 +1,16 @@
.PHONY: build minify clean release deploy_test
BASEURL ?= https://c3re.de
release: build minify
build: clean
hugo --gc --minify --cleanDestinationDir -b "${BASEURL}" --enableGitInfo --panicOnWarning
hugo --gc --minify --cleanDestinationDir
clean:
rm -rf public dist
minify: dist build
minify -a -r -o dist/ public/. -q --exclude "public/js/jquery-3.7.1.min.js" --html-keep-document-tags
minify -a -r -o dist/ public/. -q --exclude "public/js/jquery-3.7.1.min.js"
cp -rp public/js/jquery-3.7.1.min.js dist/public/js/jquery-3.7.1.min.js
mv dist/public/* dist/
rm -rf dist/public
@ -19,6 +18,5 @@ minify: dist build
dist:
mkdir dist
deploy_test:
make BASEURL=https://c3retest.shnbk.de release
deploy_test: release
rsync -rv --delete dist/* shnbk.de:domains/c3retest.shnbk.de/htdocs

View File

@ -1,7 +1,8 @@
baseURL = "https://www.c3re.de"
languageCode = "de-de"
baseURL = "https://hugo-test.c3re.de/"
languageCode = "en-us"
title = "c3RE"
theme = "hugo-theme-flat"
# themeDir = '../..'
defaultContentLanguage = "de"
relativeURLs = true
style = "green"
@ -22,7 +23,7 @@ url = "/codeweek"
[[menus.main]]
name = "Werkzeuge"
url = "https://dienste.c3re.de/"
url = "https://dienste.c3re.de"
weight = 90
[[menus.main]]