Skip to content
This repository has been archived by the owner on Dec 20, 2021. It is now read-only.

Commit

Permalink
release-1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
uPagge committed Dec 15, 2020
1 parent d50b52b commit 6912c09
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -726,4 +726,4 @@ enableEmoji = true
page = ["HTML", "MarkDown"]
section = ["HTML", "RSS"]
taxonomy = ["HTML", "RSS"]
taxonomyTerm = ["HTML"]
taxonomyTerm = ["HTML"]
4 changes: 2 additions & 2 deletions layouts/partials/init.html
Original file line number Diff line number Diff line change
@@ -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" -}}
Expand Down

0 comments on commit 6912c09

Please sign in to comment.