I’m trying to have one layout template to rule them all. Basically, how can I pull something like this off for every page?
{exp:channel:entries channel="news" limit="1" status="open"}
{layout=”site/_layout” title=”{title}” }
{/exp:channel:entries}
Or more ideally:
if layout template title is not set, use channel entry title. I can’t figure this out!
Edit: I realize that syntax doesn’t work, I’m just trying to describe what i’m trying to achieve here.
If you’re looking to expand on that, this post is pretty helpful: https://willowlightstudio.com/news/2015/seo-a-simple-approach-for-meta-tags-with-expressionengine
If you’re looking to expand on that, this post is pretty helpful: https://willowlightstudio.com/news/2015/seo-a-simple-approach-for-meta-tags-with-expressionengine
excellent post. thank you!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.