Skip to content

Commit

Permalink
better embed support (shows titles)
Browse files Browse the repository at this point in the history
  • Loading branch information
3vorp committed May 20, 2024
1 parent 0b9a6d0 commit 6b680ef
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,16 @@ export default () => {
return defineConfig({
title: "Faithful Docs",
description: "The official site with documentation and guides related to Faithful.",
head: metaTags,
transformHead: ({ pageData }) => [
...metaTags,
[
"meta",
{
property: "og:title",
content: `${pageData.frontmatter.title} | Faithful Docs`,
},
],
],
// https://vitepress.dev/reference/default-theme-config
themeConfig: {
logo: "https://raw.githubusercontent.com/Faithful-Resource-Pack/Branding/main/site/favicon.ico",
Expand Down

0 comments on commit 6b680ef

Please sign in to comment.