I'm trying to set a variable "page_title" based on the title field of an entry within a collection however I am struggling to get this to work.
I've managed to use inject a page_title varaible within my blog.yaml file as a string but can't grab an existing value from the entry data - is this possible?
Is there another way that I can acheive this. Adding page_title within a Yaml block within my template file (resources/views/blog/single.antlers.html) doesn't seem to work?