@xingwangzhe/stalux 1.7.1 → 1.7.3

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xingwangzhe/stalux",
3
- "version": "1.7.1",
3
+ "version": "1.7.3",
4
4
  "description": "A powerful, modern Astro blog theme — use as template or install as plugin",
5
5
  "keywords": [
6
6
  "astro",
package/scripts/cli.mjs CHANGED
@@ -184,7 +184,7 @@ function getWordsTemplate() {
184
184
  const date = new Date().toISOString().replace("T", " ").slice(0, 19);
185
185
  return `---
186
186
  source: "Author Name"
187
- link: ""
187
+ link: "https://example.com"
188
188
  sourceDate: ""
189
189
  date: "${date}"
190
190
  ---
@@ -197,7 +197,7 @@ function getWordsExample() {
197
197
  const date = new Date().toISOString().replace("T", " ").slice(0, 19);
198
198
  return `---
199
199
  source: "Albert Einstein"
200
- link: ""
200
+ link: "https://example.com"
201
201
  sourceDate: ""
202
202
  date: "${date}"
203
203
  ---
@@ -105,6 +105,12 @@ ul {
105
105
  color: white; /* 默认文本颜色,适用于深色背景 */
106
106
  }
107
107
 
108
+ /* 主要内容区域自动撑满剩余高度,页脚自然被推到视口下方 */
109
+ .stalux-main {
110
+ flex: 1;
111
+ min-height: 0;
112
+ }
113
+
108
114
  /* 默认 stalux 背景的 CSS 变量(非动态默认值) */
109
115
  :root {
110
116
  --stalux-bg-color: #202020;