Skip to content

Commit

Permalink
chore: tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Aug 21, 2024
1 parent 7832a9b commit 06287ca
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions theme/src/node/plugins/getPlugins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ export function getPlugins({
plugins.push(nprogressPlugin())
}

// if (pluginOptions.git ?? isProd) {
plugins.push(gitPlugin({
createdTime: true,
updatedTime: true,
contributors: true,
}))
// }
if (pluginOptions.git ?? isProd) {
plugins.push(gitPlugin({
createdTime: true,
updatedTime: true,
contributors: true,
}))
}

if (pluginOptions.photoSwipe !== false) {
plugins.push(photoSwipePlugin({
Expand Down

0 comments on commit 06287ca

Please sign in to comment.