From 6912c09f6bf768badfbbaa35bd20390ef2d8569d Mon Sep 17 00:00:00 2001 From: uPagge Date: Tue, 15 Dec 2020 18:25:12 +0300 Subject: release-1.1.0 --- exampleSite/config.toml | 6 +++--- layouts/partials/init.html | 4 ++-- 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" -}} -- cgit v1.2.3