Add a button that allows download of static PDF files #8211
-
I'd like to place a button on the header/footer of the docfx generated site that iwhen clicked it downloads an already generated/saved PDF in the asset folder of the site. Tried to scour the web for documentation on how to go about this but I don't think this is documented that well. Any feedback will be appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For the footer, you can either The
|
Beta Was this translation helpful? Give feedback.
For the footer, you can either
use the
_appFooter
attribute in theglobalMetadata
to change the footer contents--or--
use a customized template by modifying either
footer.tmpl.partial
or_footer.liquid
.The
_appFooter
example: Assuming the followingThe result is shown below: