Skip to content

Commit

Permalink
Disable anchor links and exclude files from content
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-lerch committed Oct 5, 2024
1 parent e505984 commit c4e8000
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ export default defineNuxtConfig({
public: 'content/static',
},

content: {
ignores: [
'^\\/content\\/static\\/',
'^\\/content\\/translations\\/',
],
markdown: {
anchorLinks: false
},
},

i18n: {
baseUrl: process.env.BASE_URL || 'http://localhost:3000',
locales: [
Expand Down

0 comments on commit c4e8000

Please sign in to comment.