- body class 改用 {{BODY_CLASSES}} 模板变量替换,修复隐藏状态在启动时未应用 - 相册组件添加显示/隐藏开关
@@ -93,7 +93,7 @@ func pushCurrentPhoto(interval int) {
func startPhotoLoop() {
cfg := loadConfig()
if cfg.PhotoDir == "" {
if cfg.PhotoDir == "" || cfg.HidePhoto {
return
}
The note is not visible to the blocked user.