From 3e34ae8ab55da691bb0b024afa511b9bdb278446 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Sun, 19 Dec 2021 19:48:23 +0800 Subject: [PATCH] :arrow_up: Chore: update 0.2.11 --- layouts/partials/init.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/layouts/partials/init.html b/layouts/partials/init.html index fdb50d3e3..504b25aa4 100644 --- a/layouts/partials/init.html +++ b/layouts/partials/init.html @@ -1,12 +1,12 @@ -{{- .Scratch.Set "version" "0.2.10" -}} +{{- .Scratch.Set "version" "0.2.11" -}} -{{- /* LoveIt theme version detection */ -}} +{{- /* FixIt theme version detection */ -}} {{- $VERSION := "0.2.X" -}} {{- if eq .Site .Sites.First -}} {{- if not .Site.Params.version -}} - {{- errorf "Configuration Error 配置文件错误\n\nYou haven't configured the LoveIt version param correctly yet. See https://hugoloveit.com/theme-documentation-basics/#basic-configuration\n你还没有正确配置 LoveIt 的版本参数. 参考 https://hugoloveit.com/zh-cn/theme-documentation-basics/#basic-configuration\n" -}} + {{- errorf "Configuration Error 配置文件错误\n\nYou haven't configured the FixIt version param correctly yet. See https://hugoloveit.com/theme-documentation-basics/#basic-configuration\n你还没有正确配置 FixIt 的版本参数. 参考 https://hugoloveit.com/zh-cn/theme-documentation-basics/#basic-configuration\n" -}} {{- else if ne .Site.Params.version $VERSION -}} - {{- errorf (printf "Compatibility Error 兼容性错误\n\n%v -> %v:\nYou have an incompatible update. See https://github.com/dillonzq/LoveIt/releases\n你进行了一次不兼容的更新. 参考 https://github.com/dillonzq/LoveIt/releases\n" .Site.Params.version $VERSION) -}} + {{- errorf (printf "Compatibility Error 兼容性错误\n\n%v -> %v:\nYou have an incompatible update. See https://github.com/Lruihao/FixIt/releases\n你进行了一次不兼容的更新. 参考 https://github.com/Lruihao/FixIt/releases\n" .Site.Params.version $VERSION) -}} {{- end -}} {{- end -}}