fix(tag): remove hash on main page (#969)

Signed-off-by: Aaron <29749331+aarnphm@users.noreply.github.com>
This commit is contained in:
Aaron Pham 2024-03-06 21:24:50 -05:00 committed by GitHub
parent 001c166825
commit f44e4d25e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,7 +73,7 @@ export const TagPage: QuartzEmitterPlugin<Partial<FullPageLayout>> = (userOpts)
const title = const title =
tag === "index" tag === "index"
? i18n(cfg.locale).pages.tagContent.tagIndex ? i18n(cfg.locale).pages.tagContent.tagIndex
: `${i18n(cfg.locale).pages.tagContent.tag}: #${tag}` : `${i18n(cfg.locale).pages.tagContent.tag}: ${tag}`
return [ return [
tag, tag,
defaultProcessedContent({ defaultProcessedContent({