version: test config #1050

This commit is contained in:
Sören Weber 2025-03-19 23:54:17 +01:00
parent 67adcb7322
commit a05b212465
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D
3 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,14 @@
# Configuration to test versioning support in development
# To use run `hugo -e versioning` or `hugo server -e versioning`
# It uses the docs as the current version and abuses the exampleSite
# as an archived version
baseURL = 'http://localhost:1313/'
[params]
version = 'latest'
versions = [
{ identifier = 'latest', title = '1.0', baseURL = 'http://localhost:1313/', isLatest = true},
{ identifier = '0.666', title = '0.666', baseURL = 'http://localhost:1414/exampleSite/'},
]

View file

@ -0,0 +1,15 @@
# Configuration to test versioning support in development
# To use run `hugo -p 1414 -e versioning` or `hugo server -p 1414 -e versioning`
# It uses the docs as the current version and abuses the exampleSite
# as an archived version
baseURL = 'http://localhost:1414/exampleSite/'
relativeURLs = false
[params]
version = '0.666'
versions = [
{ identifier = 'latest', title = '1.0', baseURL = 'http://localhost:1313/', isLatest = true},
{ identifier = '0.666', title = '0.666', baseURL = 'http://localhost:1414/exampleSite/'},
]

View file

@ -1 +1 @@
7.5.0+67d43d0a8a647b8b4b09cdb0103001e87e7b104c 7.5.0+67adcb73225ceeeb11bc09cfeaf6c8b9dbdb5c2a