Skip to content

Managing required code for optional modules in Starter Kits #10785

Answered by duncanmcclean
sstottelaar asked this question in Q&A
Discussion options

You must be logged in to vote

I'm assuming you're asking about checking it in your templates, if so, you can use the installed tag for that:

{{ if {installed:statamic/seo-pro} }}
    {{ seo_pro:meta }}
{{ /if }}

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by sstottelaar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants