This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Nerijus
Hi. is it possible to use /blog/category/:slug as a page title
in this case title value would be a :slug (title = :slug)
<h1><p>{{ this.page.title }}</p></h1> Thank you for your comments.
Last updated
goncalo.dumas60210
This worked for me.
Based on the example given on the blog plugin documentation.
function onEnd()
{
// Optional - set the page title to the post title
if (isset($this->category))
$this->page->title = $this->category->name;
}
1-3 of 3