Skip to content

Commit

Permalink
Merge branch 'alshedivat:main' into cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
alerezaaa authored Jan 15, 2025
2 parents d3b13d3 + c2cc214 commit 9421f22
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions _layouts/cv.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ layout: default
{{ page.title }}
{% if page.cv_pdf %}
<a
href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url}}"
{% if page.cv_pdf contains '://' %}
href="{{ page.cv_pdf }}"
{% else %}
href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url }}"
{% endif %}
target="_blank"
rel="noopener noreferrer"
class="float-right"
><i class="fa-solid fa-file-pdf"></i
></a>
>
<i class="fa-solid fa-file-pdf"></i>
</a>
{% endif %}
</h1>
{% if page.description %}
Expand Down

0 comments on commit 9421f22

Please sign in to comment.