Anton Bulakh
2024-12-27 7533d504dcbaf0d0127f1c3ac516ac0f1784816f
fix(tags): Set consistent titles for tags with description pages (#1671)

1 files modified
3 ■■■■■ changed files
quartz/plugins/emitters/tagPage.tsx 3 ●●●●● patch | view | raw | blame | history
quartz/plugins/emitters/tagPage.tsx
@@ -105,6 +105,9 @@
          const tag = slug.slice("tags/".length)
          if (tags.has(tag)) {
            tagDescriptions[tag] = [tree, file]
            if (file.data.frontmatter?.title === tag) {
              file.data.frontmatter.title = `${i18n(cfg.locale).pages.tagContent.tag}: ${tag}`
            }
          }
        }
      }