Skip to content

Commit

Permalink
fix: tab title
Browse files Browse the repository at this point in the history
  • Loading branch information
Firgrep committed Oct 3, 2024
1 parent db1acb2 commit 3612ad2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/pages/hegel/reference/becoming/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Overview
seoTitle: Overview of Becoming in Hegel's Logic
description:
Overview page for the category of becoming from Hegel's Science of Logic.
isArticle: false
Expand Down
5 changes: 3 additions & 2 deletions theme.config.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,12 +120,13 @@ const config: DocsThemeConfig = {
section = "Spinoza";
}

const defaultTitle = frontMatter.overrideTitle || section;
const defaultTitle =
frontMatter.seoTitle || frontMatter.title || section;

return {
description: frontMatter.description,
defaultTitle,
titleTemplate: `%s${section}`,
titleTemplate: `${defaultTitle}${section}`,
};
},
};
Expand Down

0 comments on commit 3612ad2

Please sign in to comment.