Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/uPagge/uBlogger.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--exampleSite/config.toml2
-rw-r--r--layouts/partials/init.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index c64323d..8c9f976 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -228,7 +228,7 @@ enableEmoji = true
[params]
# uBlogger theme version
- version = "1.3.X"
+ version = "2.0.X"
# site default theme ("light", "dark", "auto")
defaultTheme = "auto"
# public git repo url only then enableGitInfo is true
diff --git a/layouts/partials/init.html b/layouts/partials/init.html
index 0b7ba2f..cb7f167 100644
--- a/layouts/partials/init.html
+++ b/layouts/partials/init.html
@@ -1,7 +1,7 @@
-{{- .Scratch.Set "version" "1.2.0" -}}
+{{- .Scratch.Set "version" "2.0.0" -}}
{{- /* uBlogger theme version detection */ -}}
-{{- $VERSION := "1.3.X" -}}
+{{- $VERSION := "2.0.X" -}}
{{- if eq .Site .Sites.First -}}
{{- if not .Site.Params.version -}}
{{- errorf "Configuration Error 配置文件错误\n\nYou haven't configured the uBlogger version param correctly yet. See #basic-configuration\n你还没有正确配置 uBlogger 的版本参数. 参考 #basic-configuration\n" -}}