From 256d201bd2585ef2c7d54335048f692ff2a57c76 Mon Sep 17 00:00:00 2001 From: Victor_Jay Date: Mon, 1 Jun 2026 23:47:00 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dspace=E6=A8=A1?= =?UTF-8?q?=E6=9D=BFif/else-if=E9=93=BE=E5=AF=BC=E8=87=B4=E9=97=AD?= =?UTF-8?q?=E5=90=88div=E4=B8=A2=E5=A4=B1=20+=20=E5=A4=9A=E4=BD=99{{end}}?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E6=A8=A1=E6=9D=BF=E8=A7=A3=E6=9E=90panic?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将所有tab分支从if/else-if链改为独立{{if}}块 - 修复关注/粉丝列表内层if/else-if链 - 删除多余的{{end}}避免模板解析panic --- templates/MetaLab-2026/html/space/index.html | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/templates/MetaLab-2026/html/space/index.html b/templates/MetaLab-2026/html/space/index.html index 36719f9..c509c7d 100644 --- a/templates/MetaLab-2026/html/space/index.html +++ b/templates/MetaLab-2026/html/space/index.html @@ -175,7 +175,8 @@ {{/* ========== 关注列表 Tab(含本人+访客) ==========*/}} - {{else if or (eq .ActiveTab "following") (eq .ActiveTab "followers")}} + {{end}} + {{if or (eq .ActiveTab "following") (eq .ActiveTab "followers")}}