Files
bqkc/.github/_includes/item/pdf-embed.html
Nasir Anthony Montalvo 0a854da998 reconnect
2026-01-26 02:25:43 -06:00

13 lines
608 B
HTML

{% comment %}
Embed PDF so that it directly loads on the item page.
Please note that embedding large PDFs will slow your user's accessing the page.
Size is controlled using Bootstrap Custom ratios, https://getbootstrap.com/docs/5.3/helpers/ratio/#custom-ratios
{% endcomment %}
<div class="ratio" style="--bs-aspect-ratio: 115%;">
<object title="PDF file of {{ page.title }}" data="{{ page.object_location | relative_url }}" type="application/pdf" width="100%" >
<p>The PDF is not rendering in your browser, please use the button below to download the PDF.</p>
</object>
</div>