Posts , how do you set pagetitle and meta description on index page?

william - 10 months ago

As the title states. How do i set the description and title of /posts (the index page)? I am mostly interested in finding out from a end user point of view. Or how i should go about setting things up for them to be able to change it.

Answer

william - 10 months ago

I solved this by creating my own PostCrontroller that extended the default one. And then i set the pagetitle and description using variables.

More details on how i did it here

ryanthompson - 10 months ago

We typically setup variables to manage that stuff on our end. The default value is the breadcrumb name / addon name.

william - 10 months ago

Mmm that's what i thought. I guess one have to have variables created for each tag / category as well if you wanna set em everywhere. Maybe hook in and create variables automatically for desc and titles when a category is created.

william - 10 months ago

I solved this by creating my own PostCrontroller that extended the default one. And then i set the pagetitle and description using variables.

More details on how i did it here