File tree 2 files changed +9
-4
lines changed
2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -54,12 +54,17 @@ layout: default
54
54
{{ page .title }}
55
55
{% if page .cv_pdf %}
56
56
<a
57
- href =" {{ page .cv_pdf | prepend: 'assets/pdf/' | relative_url }}"
57
+ {% if page.cv_pdf contains ' ://' %}
58
+ href =" {{ page .cv_pdf }}"
59
+ {% else %}
60
+ href =" {{ page .cv_pdf | prepend: 'assets/pdf/' | relative_url }}"
61
+ {% endif %}
58
62
target =" _blank"
59
63
rel =" noopener noreferrer"
60
64
class =" float-right"
61
- ><i class =" fa-solid fa-file-pdf" ></i
62
- ></a >
65
+ >
66
+ <i class =" fa-solid fa-file-pdf" ></i >
67
+ </a >
63
68
{% endif %}
64
69
</h1 >
65
70
{% if page .description %}
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ permalink: /cv/
4
4
title : cv
5
5
nav : true
6
6
nav_order : 5
7
- cv_pdf : example_pdf.pdf
7
+ cv_pdf : example_pdf.pdf # you can also use external links here
8
8
description : This is a description of the page. You can modify it in '_pages/cv.md'. You can also change or remove the top pdf download button.
9
9
toc :
10
10
sidebar : left
You can’t perform that action at this time.
0 commit comments