It isn't uncommon to want to set a custom title or description for the page from within the template.
E.g.
{% set metaImage = entry.propertyImages.first %}
or…
{% set description = entry.summary %}
It's pretty easy to do this with vars, as shown above, because those vars can be read by the parent layout. But ideally we'd be able to do something like…
It isn't uncommon to want to set a custom title or description for the page from within the template.
E.g.
or…
It's pretty easy to do this with vars, as shown above, because those vars can be read by the parent layout. But ideally we'd be able to do something like…
Descriptions and Images
Titles
Titles are a little bit trickier, because ideally we could set the title to be a set of paths, e.g.
or