Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Resume/CV Links #2826

Merged
merged 7 commits into from
Dec 3, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Prettier
pranjalagg committed Nov 4, 2024
commit 28439f786a78cdf0750b15adf5e25c3b6133300c
8 changes: 5 additions & 3 deletions _layouts/cv.liquid
Original file line number Diff line number Diff line change
@@ -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 %}