-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.qmd
49 lines (44 loc) · 960 Bytes
/
index.qmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
title: Curriculum vitæ
description: "Andrew Heiss's CV"
date: 2023-02-28
title-block-banner: "#771C6D"
published-title: CV last updated
engine: knitr
freeze: false
cv:
pdf: "2023-02-28_andrew-heiss-cv.pdf"
---
```{css, echo=FALSE}
#title-block-header .description {
display: none;
}
```
```{css echo=FALSE}
.embed-container {
position: relative;
padding-bottom: 129%;
height: 0;
overflow: hidden;
max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
```
```{=html}
<p class="text-center">
<a class="btn btn-primary btn-lg cv-download" href="`r rmarkdown::metadata$cv$pdf`" target="_blank">
<i class="fa-solid fa-file-arrow-down"></i> Download current CV
</a>
</p>
<div class="embed-container">
<iframe src="`r rmarkdown::metadata$cv$pdf`" style="border: 0.5px"></iframe>
</div>
```