[Templates] printable versions of pages
Stuart Johnston
saj@thecommune.net
Tue, 07 Nov 2006 18:28:10 -0600
Dustin Frazier wrote:
> I have a 150+ page static website that I built using TT2 and ttree. No
> raw Perl except for a couple of formatting macros in a pre-processing
> template. I'm trying to add a feature to every page which links to a
> printable version of the page, in this case, the main content of the
> page without the surrounding navigation menus, header, footer, etc. I
> would obviously like each printable page built from the same template as
> its corresponding web page.
...
>
> Is there another more elegant solution that I'm missing?
Use CSS to hide the unwanted elements when printing.