The links end up resolving to the HTML page.
This is an issue if you want then to be able to print and the HTML page uses features such as images and sidebars that are not supposed to print.
I've put in the whiteboard my latest patch but have not committed it because it is incomplete.
This adds detection for template= templatename
and rewrites this as a link to a parallel set of generated pages.
The parallel sets of generated pages are controlled by a loop in the block
@@ -192,15 +197,24 @@
- viewprint is commented out but is where I have it.
is intended to catch the usage of another set of templates and trigger the generation of the set for it.
It seems to work reasonably well.
I was going to hack the printable link directly in my site's templates but shyed away on the grounds that I need to generate test, prod versions and on multiple machines. Better the logic goes in the generation code.
Committed and closed.
Changing this from Waiting for release to closed; only items related to twiki releases should be marked waiting for release.