From 16ec743c424fa4faf080e7aa1025703d12bccbe3 Mon Sep 17 00:00:00 2001 From: uPagge Date: Tue, 12 Jan 2021 20:45:07 +0300 Subject: release-1.3.0 --- exampleSite/config.toml | 2 +- exampleSite/content/posts/theme-documentation-basics/index.en.md | 4 ++-- layouts/partials/init.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e8b120f..aa54868 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -226,7 +226,7 @@ enableEmoji = true [params] # uBlogger theme version - version = "1.2.X" + version = "1.3.X" # site default theme ("light", "dark", "auto") defaultTheme = "auto" # public git repo url only then enableGitInfo is true diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md index 1dbf42f..a25a289 100644 --- a/exampleSite/content/posts/theme-documentation-basics/index.en.md +++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md @@ -89,7 +89,7 @@ theme = "uBlogger" [params] # uBlogger theme version - version = "1.2.X" + version = "1.3.X" [menu] [[menu.main]] @@ -199,7 +199,7 @@ Please open the code block below to view the complete sample configuration :(far ```toml [params] # {{< version 0.2.0 changed >}} uBlogger theme version - version = "1.2.X" + version = "1.3.X" # site description description = "This is My New Hugo Site" # site keywords diff --git a/layouts/partials/init.html b/layouts/partials/init.html index b621965..0b7ba2f 100644 --- a/layouts/partials/init.html +++ b/layouts/partials/init.html @@ -1,7 +1,7 @@ {{- .Scratch.Set "version" "1.2.0" -}} {{- /* uBlogger theme version detection */ -}} -{{- $VERSION := "1.2.X" -}} +{{- $VERSION := "1.3.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