patrickdemooij9 / SeoToolkit.Umbraco

SeoToolkit is a SEO package for Umbraco 9, 10, 11, 12 & 13. This package features most functionalities needed for your SEO needs like meta fields, sitemap, robots.txt and much more.
MIT License
35 stars 28 forks source link

Fix disabling SectionTree for ScriptManager #210

Closed kows closed 1 year ago

kows commented 1 year ago

https://seotoolkit.gitbook.io/useotoolkit/settings/disabling This is an option according to the documentation but doesn't work atm.

patrickdemooij9 commented 1 year ago

Hi @kows Thank you for the PR, can't believe I added that to the documentation and then forgot to add it in the code. As you can see, I added some extra changes to your PR, nothing major though.

The DisabledModuleConstant should have been SectionTree instead of Tree and the else statement wasn't needed. Just some minor changes.

Thank you for the PR. I'll merge it and it'll be in the next release!

patrickdemooij9 commented 1 year ago

Somehow I merged the PR without my changes in it... But they are in this commit if you want to see them: https://github.com/patrickdemooij9/SeoToolkit.Umbraco/commit/25e9b41f5d7c57152241cff9c71a68278cc25809