nuxt-content-theme-blog icon indicating copy to clipboard operation
nuxt-content-theme-blog copied to clipboard

Suggestion: Add option into config to exclude the <AppContribute /> component

Open KamilOcean opened this issue 4 years ago • 1 comments

Now, I have to define the empty component <AppContribute /> to turn down this component. I just don't want to publish my blog on GitHub and I don't need this component.

I suggest adding another option to blog.settings.js, for example, showContributeComponent. But the better way is using hideContributeComponent because it doesn't break anything if users upgrade nuxt-content-theme-blog. I mean, now you can just don't mention hideContributeComponent option in the config and by default, the component <AppContribute /> will be shown.

KamilOcean avatar Jul 03 '21 13:07 KamilOcean

https://github.com/jsilva-pt/nuxt-content-theme-blog/pull/142

KamilOcean avatar Jul 03 '21 13:07 KamilOcean