diff --git a/content/.vitepress/theme/VPDocFooter.vue b/content/.vitepress/theme/VPDocFooter.vue index 8e5d406..3ac1127 100644 --- a/content/.vitepress/theme/VPDocFooter.vue +++ b/content/.vitepress/theme/VPDocFooter.vue @@ -25,6 +25,7 @@ const showFooter = computed( ) function showConfetti(event) { + if (!frontmatter.value.confetti) return confetti({ particleCount: 100, spread: 100, diff --git a/content/index.md b/content/index.md index f2bf403..5c60bc0 100644 --- a/content/index.md +++ b/content/index.md @@ -1,3 +1,7 @@ +--- +confetti: true +--- + # Hallo Welkom bij mijn HPG-portfolio!