add i18n 404 and README support (#132)

* feat(params.toml): enable analytics and configure Umami Analytics

Enable analytics by setting `enable` to `true` in the `[analytics]` section of the `params.toml` file. Also, configure Umami Analytics by providing the `data_website_id`, `src`, and `data_domains` values.

* feat(404.html): replace hardcoded "404 page not found" text with translated version to improve localization

* feat(README.md): add README.md file with information about the Bridget theme and its features
feat(getStarted.md): add getStarted.md file with instructions on how to get started with the Bridget theme, including installation and content management instructions
This commit is contained in:
Spedon
2023-11-06 16:07:56 +08:00
committed by GitHub
parent 8c2138ce3b
commit f083407889
16 changed files with 244 additions and 7 deletions

View File

@@ -30,7 +30,7 @@ sogou = ""
# Analytics config
[analytics]
enable = false
enable = true
# Google Analytics
[analytics.google]
id = ""
@@ -46,10 +46,10 @@ server = ""
id = ""
# Umami Analytics
[analytics.umami]
data_website_id = ""
src = ""
data_website_id = "44a4a42d-ec8e-44c9-a38c-7533929e9845"
src = "https://umami.sped0nwen.com/script.js"
data_host_url = ""
data_domains = ""
data_domains = "bridget-demo.sped0nwen.com"
# Plausible Analytics
[analytics.plausible]
data_domain = ""