Skip to content

Commit

Permalink
Fix link issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianGode committed Dec 9, 2024
1 parent 69db411 commit bc7cfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion otc_sphinx_directives/service_card.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def service_card_html(self, node):
try:
if doc["pdf_enabled"]:
data += (f'''
<scale-button variant="secondary" class="pdf-button-sbv" href="/{node['service_type']}-{doc["type"]}.pdf" target="_blank">
<scale-button variant="secondary" class="pdf-button-sbv" href="{node['service_type']}-{doc["type"]}.pdf" target="_blank">
<scale-icon-user-file-pdf-file accessibility-title="pdf-file"></scale-icon-user-file-pdf-file>
<span style="font-weight: normal;">Download PDF</span>
</scale-button>
Expand Down

0 comments on commit bc7cfc8

Please sign in to comment.