parent
b37758a55c
commit
c5d484ec9f
@ -54,12 +54,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 %}
|
||||
|
||||
@ -4,7 +4,7 @@ permalink: /cv/
|
||||
title: cv
|
||||
nav: true
|
||||
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.
|
||||
toc:
|
||||
sidebar: left
|
||||
|
||||
Loading…
Reference in New Issue
Block a user