mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-03-20 16:15:09 +00:00
version: test config #1050
This commit is contained in:
parent
67adcb7322
commit
a05b212465
3 changed files with 30 additions and 1 deletions
14
docs/config/versioning/hugo.toml
Normal file
14
docs/config/versioning/hugo.toml
Normal 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/'},
|
||||
]
|
15
exampleSite/config/versioning/hugo.toml
Normal file
15
exampleSite/config/versioning/hugo.toml
Normal 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/'},
|
||||
]
|
|
@ -1 +1 @@
|
|||
7.5.0+67d43d0a8a647b8b4b09cdb0103001e87e7b104c
|
||||
7.5.0+67adcb73225ceeeb11bc09cfeaf6c8b9dbdb5c2a
|
Loading…
Add table
Reference in a new issue