Skip to content

Commit

Permalink
Fix PDF download link
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepak Khatri committed Mar 29, 2024
1 parent b4dc1d7 commit b8d5484
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _templates/pdf.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% for pdf_path in pdf_paths %}
{% if pdf_path+'/' in pagename %}
{% set pdf_name = pdf_path.split('/')[-1] %}
<a role="button" href="{{docs_url}}/{{pdf_name}}.pdf" target="_blank">
<a role="button" href="../../../{{pdf_name}}.pdf" target="_blank">
<i class="fa-solid fa-download"></i> Download PDF
</a>
{% endif %}
Expand Down

0 comments on commit b8d5484

Please sign in to comment.