kawapress 0.4.2 → 0.5.0
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,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kawapress",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.5.0",
|
|
5
5
|
"description": "A Vue-centric static site generator",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://kawapress.dev/",
|
|
@@ -84,6 +84,6 @@
|
|
|
84
84
|
"tinyglobby": "^0.2.17",
|
|
85
85
|
"vite": "^8.2.2",
|
|
86
86
|
"vue": "^3.5.41",
|
|
87
|
-
"@kawapress/preset-nagi": "^0.
|
|
87
|
+
"@kawapress/preset-nagi": "^0.5.0"
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -68,7 +68,7 @@ function summarizeMarkdown(md: MarkdownExit, source: string): PageSummary {
|
|
|
68
68
|
frontmatter,
|
|
69
69
|
heading === undefined ? [] : [{ level: 1, title: heading }],
|
|
70
70
|
)
|
|
71
|
-
const layout = typeof frontmatter.layout === 'string'
|
|
71
|
+
const layout = typeof frontmatter.layout === 'string' || frontmatter.layout === false
|
|
72
72
|
? frontmatter.layout
|
|
73
73
|
: undefined
|
|
74
74
|
|
|
@@ -14,8 +14,8 @@ export interface PageModule {
|
|
|
14
14
|
*/
|
|
15
15
|
export interface PageSummary {
|
|
16
16
|
title: string
|
|
17
|
-
/** `frontmatter.layout` when it is a string
|
|
18
|
-
layout?: string
|
|
17
|
+
/** `frontmatter.layout` when it is a string or `false`. */
|
|
18
|
+
layout?: string | false
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
/**
|