mirror of
https://github.com/Sped0n/bridget.git
synced 2026-04-14 10:09:31 -07:00
refactor: remove i18n labels and centralize in config
Delete multilingual i18n files for UI labels. Add English labels to params.toml under [labels]. Update 404.html, single.html, and nav.html to use site.Params.labels instead of i18n. Signed-off-by: Sped0n <hi@sped0n.com>
This commit is contained in:
@@ -18,7 +18,7 @@ hiResOpt = "2500x webp Lanczos q75"
|
||||
# unified alt text for all images in the page
|
||||
unifiedAlt = ''
|
||||
|
||||
# Site verification code for Google/Bing/Yandex/Pinterest/Baidu
|
||||
# site verification code for Google/Bing/Yandex/Pinterest/Baidu
|
||||
[verification]
|
||||
google = ""
|
||||
bing = ""
|
||||
@@ -28,7 +28,7 @@ baidu = ""
|
||||
so = ""
|
||||
sogou = ""
|
||||
|
||||
# Analytics config
|
||||
# analytics config
|
||||
[analytics]
|
||||
enable = true
|
||||
# Google Analytics
|
||||
@@ -66,3 +66,12 @@ No_cookie = true
|
||||
Do_not_track = true
|
||||
# token(optional), more info on https://splitbee.io/docs/embed-the-script
|
||||
data_token = ""
|
||||
|
||||
# labels
|
||||
[labels]
|
||||
next = "next"
|
||||
prev = "prev"
|
||||
close = "close"
|
||||
threshold = "Threshold"
|
||||
error = "page not found"
|
||||
other = "loading..."
|
||||
|
||||
Reference in New Issue
Block a user