Open
Description
The logic for how to output the content should be changed.
Right now, the third parameter specifies whether the content should be returned or echoed. So far so good. But this parameter also specifies if the content should include the html tags or not.
To better comply with how Kirby does its things, my proposal would be to have this behavior instead:
seo('title')
returns the content as plain text. I.e: title content
seo('title')->html()
returns the content wrapped in html. I.e: <title>title content</title>
Metadata
Assignees
Labels
No labels