mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
Update quartz/components/Head.tsx
This commit is contained in:
parent
15369618e3
commit
b67ed9c95e
@ -81,8 +81,6 @@ export default (() => {
|
|||||||
const titleSuffix = cfg.pageTitleSuffix ?? ""
|
const titleSuffix = cfg.pageTitleSuffix ?? ""
|
||||||
const title =
|
const title =
|
||||||
(fileData.frontmatter?.title ?? i18n(cfg.locale).propertyDefaults.title) + titleSuffix
|
(fileData.frontmatter?.title ?? i18n(cfg.locale).propertyDefaults.title) + titleSuffix
|
||||||
const description =
|
|
||||||
fileData.description?.trim() ?? i18n(cfg.locale).propertyDefaults.description
|
|
||||||
let description = ""
|
let description = ""
|
||||||
if (fdDescription) {
|
if (fdDescription) {
|
||||||
description = unescapeHTML(fdDescription)
|
description = unescapeHTML(fdDescription)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user