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:
authoruPagge <upagge@mail.ru>2020-12-15 18:25:12 +0300
committeruPagge <upagge@mail.ru>2020-12-15 18:25:12 +0300
commit6912c09f6bf768badfbbaa35bd20390ef2d8569d (patch)
tree356043487d7d817757bc79ad227a94c32d560776
parentd50b52b3327b6aee89cc61359ab221d6554d9d6d (diff)
release-1.1.0v.1.1.0
-rw-r--r--exampleSite/config.toml6
-rw-r--r--layouts/partials/init.html4
2 files changed, 5 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d4b5bb8..6ba1e93 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -152,7 +152,7 @@ enableEmoji = true
disclaimer = ""
# Home page posts
[languages.en.params.home.posts]
- enable = false
+ enable = true
# special amount of posts in each home posts page
paginate = 6
# Social config in home page
@@ -226,7 +226,7 @@ enableEmoji = true
[params]
# uBlogger theme version
- version = "0.2.X"
+ version = "1.1.X"
# site default theme ("light", "dark", "auto")
defaultTheme = "auto"
# public git repo url only then enableGitInfo is true
@@ -726,4 +726,4 @@ enableEmoji = true
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
- taxonomyTerm = ["HTML"]
+ taxonomyTerm = ["HTML"] \ No newline at end of file
diff --git a/layouts/partials/init.html b/layouts/partials/init.html
index 8d8ee78..75162d2 100644
--- a/layouts/partials/init.html
+++ b/layouts/partials/init.html
@@ -1,7 +1,7 @@
-{{- .Scratch.Set "version" "0.2.10" -}}
+{{- .Scratch.Set "version" "1.1.0" -}}
{{- /* uBlogger theme version detection */ -}}
-{{- $VERSION := "0.2.X" -}}
+{{- $VERSION := "1.1.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" -}}