Change metadata to Plugin generated page
-
Hi guys,
I have my plugin perfectly working: it generates one new page where it displays topics with extra data I add to them.
My problem is that this page "inherits" the title from the previous page visited (or nothing if landed directly on that).
Where/how can I change that and the metadata (keywords and SEO stuff) for that page?
Thanks,
Regards
Luigi -
If you add the title field for the template base object.
-
@PitaJ Thanks for the answer!
I don't really know what do you mean by "template base object", do you mean the template file, or the template renderer?EDIT:
Or it's just by doing likedata.title = "blabla"
before the render?Also can I add other metadata to improve the SEO of the page?
Copyright © 2024 NodeBB | Contributors