Discussions

Ask a Question
Back to All

Call active model in root.liquid layout

Hello,

How do I get the current/active model in the root.liquid layout? Right now when I add custom text (SEO title, meta keywords and meta description) it is inheriting from pages, and I want it to be customised for the current model.

I can call the different models using {{ models.references.first.meta_keywords }} so I know the information is available, but need to call only the active/current model