Skip to content

Commit

Permalink
remove title for index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
ThinLiquid committed Sep 1, 2024
1 parent c733f7c commit 5590039
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ssg.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,11 @@ ${dedent`
version: () => {
const path = require.resolve('./package.json');
delete require.cache[path];

return require('./package.json').version
},

title: ({ title = 'Untitled' }: { title?: string }) => `${title} | `,
title: ({ title = 'Untitled' }: { title?: string }) => title === 'Home' ? '' : `${title} | `,
'page-title': ({ title = 'Untitled' }: { title?: string }) => title,
description: ({ description = 'No description' }: { description?: string }) => description,

Expand Down

0 comments on commit 5590039

Please sign in to comment.