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>2021-01-12 20:45:07 +0300
committeruPagge <upagge@mail.ru>2021-01-12 20:45:07 +0300
commit16ec743c424fa4faf080e7aa1025703d12bccbe3 (patch)
tree095f230f968290fe36b263102c4248814905d93e
parentde2000e1c62a48f2e546dc4c16279436369ca9a3 (diff)
release-1.3.0
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/content/posts/theme-documentation-basics/index.en.md4
-rw-r--r--layouts/partials/init.html2
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" -}}