How do I access the author YAML field? I tried “page.author” and it doesn’t work.
I’m talking in the context of making a blog theme… Loosely following the Blog skeleton…
if you have author set in the page headers, and you are trying to access from a Twig template, it would be:
{{ page.header.author }}
There is an example of this in the Theme Variable Docs.
Ah, ok! Can I create another field there? Like “description”?
You can create any field you like in the page headers, yes.
OK. Thank you!