Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pranjalagg committed Nov 4, 2024
1 parent 285d5fb commit 28439f7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _layouts/cv.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -53,20 +53,22 @@ layout: default
<h1 class="post-title">
{{ page.title }}
{% if page.cv_pdf %}
{% if page.cv_pdf contains "http" %}
{% if page.cv_pdf contains 'http' %}
<a
href="{{ page.cv_pdf }}"
target="_blank"
rel="noopener noreferrer"
class="float-right">
class="float-right"
>
<i class="fa-solid fa-file-pdf"></i>
</a>
{% else %}
<a
href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url}}"
target="_blank"
rel="noopener noreferrer"
class="float-right">
class="float-right"
>
<i class="fa-solid fa-file-pdf"></i>
</a>
{% endif %}
Expand Down

0 comments on commit 28439f7

Please sign in to comment.