-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate_jinja.html
122 lines (89 loc) · 4.06 KB
/
template_jinja.html
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang='en'>
<head>
<title>Tobias Renkin's Website</title>
<meta name="author" content="Tobias Renkin">
<meta name="description" content="I am a Research Economist at Danmarks Nationalbank. I work on topics in empirical Macroeconomics and Labor Economics." />
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="keywords" content="Tobias, Renkin, economics, Danmarks Nationalbank, University of Zurich, Copenhagen, Zurich" />
<meta name="robots" content="index, follow" />
<link rel="canonical" href="https://www.tobiasrenkin.com/">
<link rel="stylesheet" type="text/css" href="style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<!-- Jinja templates -->
{~ macro multilinelist(list) ~}
{~ for item in list ~}
{+ item +}<br>
{~ endfor ~}
{~ endmacro ~}
{~ macro onelinelist(list, separator) ~}
{~ for item in list ~}{+ item +}{+separator if not loop.last else ""+} {~ endfor ~}
{~ endmacro ~}
{~ macro paperlist(list, media=false, abstract=false) ~}
{~ for item in list ~}
{~ if item.link ~}<a href="{+item.link+}" target="_blank"><b>{+item.title+}</b></a>{~ else ~}{+ item.title +}{~ endif ~}
{~- if "coauthors" in item -~}
, with
{~- for author in item.coauthors -~}
{~- if not loop.first -~}{+ ", " if not loop.last else " and " +}{~ endif ~}
{~ if author.link -~}<a href="{+author.link+}" target="_blank">{+author.name+}</a>{~- else -~}{+ author.name +}{~- endif -~}
{~- endfor -~}
{~- endif -~}
{+ "." if item.title[-1] not in ["?", ".", "!"] +}
{~ if item.citation -~}
<b>{+item.citation.journal+}</b> ({+item.citation.year+}), Vol. {+item.citation.volume+}, No. {+item.citation.issue+}, pp. {+item.citation.pages+}.
{~ else -~}
{~if item.year~}{+ item.year +}.{~endif~}
{~if item.status~}{+ item.status +}{~endif~}
{~if item.journal~}at <b>{+ item.journal +}</b>{~endif~}
{~ endif ~}
{~ if abstract==true and item.abstract -~}
<p style="margin-left:6px">Abstract: {+ item.abstract +}</p>
{~ endif ~}
{~ if media==true and item.Media -~}
<p style="margin-left:6px"> Coverage:
{~- for article in item.Media ~}
<a href="{+article.link+}" target="_blank">{+article.name+}</a>{+", " if not loop.last+}
{~- endfor -~}
</p>
{~ endif ~}
</p>
{~ endfor ~}
{~ endmacro ~}
<!-- End Jinja templates -->
<body>
<header>
<h1>Tobias Renkin</h1>
</header>
<main>
<div class="left">
<img src='DSC_3434.webp' alt='Portrait Tobias Renkin' class="portrait">
<h2>CV</h2>
<a href='https://github.com/tobiasrenkin/tobiasrenkin.github.io/raw/master/CV.pdf'>PDF here</a>
<h2>Contact</h2>
{+ multilinelist(data.Contact.Address) +}
<a href='mailto:{+ data.Contact.Email +}'>{+ data.Contact.Email +}</a>
</div>
<div class="content">
I am a Senior Economist in the Research Unit of Danmarks Nationalbank, the central bank of Denmark. My research interests span topics in applied macroeconomics and labor economics. I am especially interested in the way firms set prices and wages. In my research, I usually work with micro-level data to help understand macroeconomic developments. I also contribute to the policy debate on topics related to inflation and firm dynamics at Danmarks Nationalbank.
</p>
I am married to Daphné Skandalis, also an economist. You can find her website <a href="https://sites.google.com/site/daphneskandalis">here</a>.
<h2>Publications</h2>
{+ paperlist(data.Publications, abstract=true, media=true) +}
<h2>Working Papers</h2>
{+ paperlist(data["Working Papers"], abstract=true, media=true) +}
<h2>Work in Progress</h2>
{+ paperlist(data["Work in Progress"]) +}
<h2>Policy Publications</h2>
{+ paperlist(data["Policy Publications"], media=true) +}
<h2>Dormant Projects</h2>
{+ paperlist(data["Dormant Projects"], abstract=false, media=false) +}
</div>
</main>
<footer>
Disclaimer: Materials on this website are personal and do not reflect the positions of Danmarks Nationalbank.
Last updated: {+ data.today +}
</footer>
</body>
</html>