Closed (fixed)
Project:
Printer and PDF versions
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Sep 2016 at 06:39 UTC
Updated:
22 May 2018 at 05:54 UTC
Jump to comment: Most recent
Comments
Comment #2
slipstreamer commentedtry putting this in your twig template
Comment #3
nigelcunningham commentedI've just added support for printable variants of all templates (via a theme suggestions hook). You can use (for example) printable--node.html.twig to override node.html.twig when a printable version of a page is being made. I haven't done output specific versions (pdf or print) as I don't see a use case yet.
The above change is in printable's git repo and will be in the next release. If you update printable, please also update pdf_api.
Thanks for the suggestion!