Skip to content

Commit

Permalink
chore: add ogpreview for default og
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioRibera committed Aug 2, 2024
1 parent 7c46be1 commit c9b0cb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ export default defineNuxtConfig({
defaultLocale: 'es'
},
ogImage: { enabled: false },
nitro: {
prerender: {
routes: ['/sitemap.xml']
}
},
app: {
head: {
charset: 'utf-8',
Expand Down
2 changes: 1 addition & 1 deletion pages/[...slug].vue
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ onMounted(async () => {
content.value = contentResult;
showSidebar.value = contentResult && (route.query.fromClick || false);
useContentHead(contentResult)
// useContentHead(contentResult)
});
Expand Down
Binary file added public/previews/ogpreview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c9b0cb0

Please sign in to comment.