hyteck-blog/layouts/shortcodes/pdf.html

6 lines
193 B
HTML

<div>
<object data="/uploads/{{ index .Params 0}}.pdf" type="application/pdf" width="100%" height="500px">
<p><a href="/uploads/{{ index .Params 0}}.pdf">Download the PDF!</a></p>
</object>