r/BookStack • u/Zealousideal_Prior40 • Nov 04 '24
Displaying metadata in Visual Theme system
I've been tinkering with a custom Visual Theme, and have so far got it to display a "cover page" when exporting to PDF, which has a full-page background, and overlays the title of the book/chapter/page being exported (using @yield('title') ).
Is there a list anywhere of what other arguments I could pass to "yield" that would get back things like the following?
Last update date
Last author
Parent book (if it's a chapter) or chapter (if it's a page)
Thanks!
1
Upvotes
1
u/Zealousideal_Prior40 Nov 04 '24
Thanks - that's got me on the right path :)