You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/pages/social-images/[...path].png.ts
+5-7Lines changed: 5 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
// ISSUE: Some pages don't have description field in the frontmatter, but have title. In those cases it is returning undefined written on the OG image. Example: /features/commands/
2
+
1
3
// TODO: Define default or import from somewhere else
2
4
constSITE_TITLE='Tauri';
3
5
constSITE_DESCRIPTION='Tauri is awesome';
@@ -32,7 +34,7 @@ export async function getStaticPaths() {
0 commit comments