logo

Adding a PDF Export Header & Footer in BookStack

time2 yr agoview51 views

In this video we use the visual theme system to add our own header and footer to PDF exports in BookStack. This video assumes use of BookStack v22.07.2 or greater, and that the default PDF renderer is in use.

► Code Used in Video: https://gist.github.com/ssddanbrown/bcc9d2e73ec8144a7f4807fd10ddc863 ► Visual Theme System: https://github.com/BookStackApp/BookStack/blob/development/dev/docs/visual-theme-system.md ► BookStack Discord: https://discord.gg/ztkBqR2 ► Follow BookStack on Mastodon: https://fosstodon.org/@bookstack ► Follow BookStack on Twitter: https://twitter.com/bookstack_app ► Follow me on Mastodon: https://fosstodon.org/@danb

0:00 Intro & environment 2:34 Visual Theme setup 3:25 Initial override 5:49 Override test 6:26 Header setup 10:24 Tweaking the header 11:37 Adding a footer 13:14 Adding a logo image 17:34 Adjusting logo style 19:43 Outro

#customization #pdf #opensource #selfhosted #documentation #wiki #bookstack #foss

Loading comments...