mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 12:11:35 +01:00
feat: add $BASE_URL support in url
This commit is contained in:
parent
71e0389b90
commit
bf1a110516
4 changed files with 14 additions and 9 deletions
12
config.toml
12
config.toml
|
|
@ -1,5 +1,5 @@
|
|||
# The base URL of the site; the only required configuration variable.
|
||||
base_url = "https://st1020.github.io/kita/"
|
||||
base_url = "https://st1020.github.io/kita"
|
||||
|
||||
# The site title and description; used in feeds by default.
|
||||
title = "Kita"
|
||||
|
|
@ -74,23 +74,23 @@ url = "https://github.com/st1020/kita"
|
|||
|
||||
[[extra.profile.social]]
|
||||
name = "rss"
|
||||
url = "/atom.xml"
|
||||
url = "$BASE_URL/atom.xml"
|
||||
|
||||
[[extra.menu]]
|
||||
name = "Projects"
|
||||
url = "/projects"
|
||||
url = "$BASE_URL/projects"
|
||||
|
||||
[[extra.menu]]
|
||||
name = "Archive"
|
||||
url = "/archive"
|
||||
url = "$BASE_URL/archive"
|
||||
|
||||
[[extra.menu]]
|
||||
name = "Tags"
|
||||
url = "/tags"
|
||||
url = "$BASE_URL/tags"
|
||||
|
||||
[[extra.menu]]
|
||||
name = "About"
|
||||
url = "/about"
|
||||
url = "$BASE_URL/about"
|
||||
|
||||
[extra.footer]
|
||||
since = 2020
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue