Skip to content
This repository was archived by the owner on May 13, 2024. It is now read-only.

Commit 46e503c

Browse files
committed
fix: summary default should be true
1 parent b29c1b6 commit 46e503c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = (themeConfig, ctx) => {
44
themeConfig = Object.assign(
55
themeConfig,
66
{
7-
summary: !!themeConfig.summary,
7+
summary: themeConfig.summary === undefined ? true : themeConfig.summary,
88
summaryLength: typeof themeConfig.summaryLength === 'number' ? themeConfig.summaryLength : 200,
99
pwa: !!themeConfig.pwa,
1010
}

0 commit comments

Comments
 (0)