settings: Clean dest dir by default and enable gitinfo

This commit is contained in:
jtbx 2023-11-03 20:40:08 +01:00
parent b0123f91e9
commit e5e4a12b13
2 changed files with 6 additions and 1 deletions

View file

@ -7,7 +7,7 @@ build-website:
image: alpine image: alpine
before_script: before_script:
- apk update - apk update
- apk add tzdata hugo coreutils curl jq - apk add tzdata hugo coreutils curl jq git
script: script:
- ./fetch-calendar.sh - ./fetch-calendar.sh
- sed -i "s#baseURL = 'https://hamburg.ccc.de/'#baseURL = 'https://next.hamburg.ccc.de/'#" hugo.toml - sed -i "s#baseURL = 'https://hamburg.ccc.de/'#baseURL = 'https://next.hamburg.ccc.de/'#" hugo.toml

View file

@ -5,6 +5,11 @@ timeZone = 'Europe/Berlin'
title = 'CCC Hansestadt Hamburg e.V.' title = 'CCC Hansestadt Hamburg e.V.'
theme = 'ccchh' theme = 'ccchh'
cleanDestinationDir = true
enableGitInfo = true
# paginate = 10
[taxonomies] [taxonomies]
category = 'categories' category = 'categories'
tag = 'tags' tag = 'tags'