parent
b37758a55c
commit
c5d484ec9f
@ -54,12 +54,17 @@ layout: default
|
|||||||
{{ page.title }}
|
{{ page.title }}
|
||||||
{% if page.cv_pdf %}
|
{% if page.cv_pdf %}
|
||||||
<a
|
<a
|
||||||
|
{% if page.cv_pdf contains '://' %}
|
||||||
|
href="{{ page.cv_pdf }}"
|
||||||
|
{% else %}
|
||||||
href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url }}"
|
href="{{ page.cv_pdf | prepend: 'assets/pdf/' | relative_url }}"
|
||||||
|
{% endif %}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
class="float-right"
|
class="float-right"
|
||||||
><i class="fa-solid fa-file-pdf"></i
|
>
|
||||||
></a>
|
<i class="fa-solid fa-file-pdf"></i>
|
||||||
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h1>
|
</h1>
|
||||||
{% if page.description %}
|
{% if page.description %}
|
||||||
|
|||||||
@ -4,7 +4,7 @@ permalink: /cv/
|
|||||||
title: cv
|
title: cv
|
||||||
nav: true
|
nav: true
|
||||||
nav_order: 5
|
nav_order: 5
|
||||||
cv_pdf: example_pdf.pdf
|
cv_pdf: example_pdf.pdf # you can also use external links here
|
||||||
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.
|
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.
|
||||||
toc:
|
toc:
|
||||||
sidebar: left
|
sidebar: left
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user