From 637c4641cb2f73d4ad0db0eb50a3250ab2a64d37 Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Mon, 16 Dec 2024 16:05:05 +0800 Subject: [PATCH] :bug: Fix: the default value type error of some valine params --- hugo.toml | 4 ++-- layouts/partials/init/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hugo.toml b/hugo.toml index f8decf49..18701b15 100644 --- a/hugo.toml +++ b/hugo.toml @@ -1153,8 +1153,8 @@ enableEmoji = true appKey = "" placeholder = "" avatar = "mp" - meta = "" - requiredFields = "" + meta = ['nick','mail','link'] + requiredFields = [] pageSize = 10 lang = "" visitor = true diff --git a/layouts/partials/init/index.html b/layouts/partials/init/index.html index 517f60e5..4fe5ec3c 100644 --- a/layouts/partials/init/index.html +++ b/layouts/partials/init/index.html @@ -1,4 +1,4 @@ -{{- .Scratch.Set "version" "v0.3.17-393a1393" -}} +{{- .Scratch.Set "version" "v0.3.17-99f51de9" -}} {{- .Scratch.Set "this" dict -}} {{- partial "init/detection-env.html" . -}}