fixed 自定义背景图
This commit is contained in:
1 parent
5efe7ded8e
commit
38fe480db6
7 files changed
+41
-9
No files matched your search
@@ -34,3 +34,18 @@ HasCJKLanguage = true
|
||||
# 自定义文章固定链接:使用 日期 作为文件名(如 /20260117.html)
|
||||
[permalinks]
|
||||
post = "/:year:month:day"
|
||||
|
||||
[params]
|
||||
[params.style]
|
||||
# 自定义背景图开关
|
||||
enableBackgroundImage = true
|
||||
# 背景图链接 (留空则不显示背景图,enableBackgroundImage=false 时此项无效)
|
||||
backgroundImageUrl = "/image/deno.webp"
|
||||
# 背景图显示模式: cover (全屏铺满), contain (完整显示), auto (原始大小), 或具体数值 (如 100% auto)
|
||||
backgroundSize = "contain"
|
||||
# 背景图重复: no-repeat (不重复), repeat (重复), repeat-x, repeat-y, round (自动调整)
|
||||
backgroundRepeat = "round"
|
||||
# 背景图位置: center, top, bottom, left, right
|
||||
backgroundPosition = "center"
|
||||
# 背景图固定: fixed (固定), scroll (随页面滚动)
|
||||
backgroundAttachment = "fixed"
|
||||
Reference in new issue
Block a user