forked from upsidedownlabs/upsidedownlabs.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Deepak Khatri
committed
Mar 28, 2024
1 parent
d351781
commit 7f07336
Showing
4 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% for hardware_part_path in hardware_part_paths %} | ||
{% if hardware_part_path+'/' in pagename %} | ||
{% set pdf_name = hardware_part_path.split('/')[-1] %} | ||
<a role="button" href="{{docs_url}}/{{pdf_name}}.pdf" target="_blank"> | ||
<i class="fa-solid fa-download"></i> Download PDF | ||
</a> | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters