@windcoder/astro-theme-orchid 0.4.1 → 0.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -77,7 +77,9 @@ const visualMode =
|
|
|
77
77
|
显示,不再隐藏整个 stage——保证非首页有页面标题横幅且刷新不丢失样式 */
|
|
78
78
|
const stageMode =
|
|
79
79
|
visualMode === "none" || stageDesktop.length === 0 ? null : visualMode;
|
|
80
|
-
|
|
80
|
+
/* stage 未渲染(无图/none)同样视为隐藏:html[data-wp-stage-hidden] 驱动 CSS 取消
|
|
81
|
+
banner/fullscreen 的正文上拉与 hero 首屏下推,避免空壁纸时内容顶入 Header 底下 */
|
|
82
|
+
const stageHidden = !stageMode;
|
|
81
83
|
const stageVisible = Boolean(stageMode);
|
|
82
84
|
/* hero 文案(§4.98):首页用 homeText 配置(标题+副标题/打字机),非首页用页面
|
|
83
85
|
传入的 title(归档→"归档"、文章→文章标题等)。仅 stage 可见时渲染,叠加在
|