Add research page

This commit is contained in:
Théophile Bastian 2019-10-10 19:30:34 +02:00
parent d040165952
commit 27992b6812
10 changed files with 162 additions and 7 deletions

View file

@ -3,11 +3,9 @@ title: "Who am I?"
date: 2019-10-08T20:55:22+02:00
draft: false
contactmeans:
- "Personal email": "contact@tobast.fr"
- "Academic email": "theophile.bastian@ens.fr"
- "IRC": "tobast@freenode"
menu:
main:
weight: 100
---
## {{< fontawesome "user" >}} Who am I?
@ -65,4 +63,4 @@ GPG Key
: 0x7B784C5D
([keyfile](/files/pubkey.asc),
[keyserver](https://pgp.mit.edu/pks/lookup?op=vindex&search=0xC57352357B784C5D))
— not much used these days
— not used much these days

10
content/cooking.md Normal file
View file

@ -0,0 +1,10 @@
---
title: "Cooking"
date: 2019-10-10T18:01:14+02:00
draft: true
menu:
main:
weight: 400
---

46
content/research.md Normal file
View file

@ -0,0 +1,46 @@
---
title: "Research"
date: 2019-10-10T18:01:09+02:00
draft: true
menu:
main:
weight: 200
authors:
tobast:
name: "T. Bastian"
fzn:
name: "F. Zappa Nardelli"
page: "https://www.di.ens.fr/~zappa/"
skell:
name: "S. Kell"
page: "https://www.cs.kent.ac.uk/people/staff/srk21/"
publications:
- authors:
- tobast
- skell
- fzn
title: "Fast and Reliable DWARF Stack Unwinding"
journal: "OOPSLA 2019"
links:
- name: PDF
url: '/doc/publications/oopsla19-dwarf.pdf'
talks:
- date: 2018-11-14
title: "Growing the DWARF tougher: synthesis, validation and compilation"
venue: Oracle Stockholm
links:
- name: PDF
url: '/doc/talks/oracle18.pdf'
---
## {{< fontawesome "file-text" >}} Publications
{{< list-publications >}}
## {{< fontawesome "commenting" >}} Talks
{{< list-talks >}}

10
content/services.md Normal file
View file

@ -0,0 +1,10 @@
---
title: "Things I host"
date: 2019-10-10T18:01:12+02:00
draft: true
menu:
main:
weight: 300
---

View file

@ -18,12 +18,15 @@
<div id="main-container">
<div class="tab-selector">
<!--
<ul>
<li><a href="/">Who am I?</a></li>
<li><a href="/research">Research</a></li>
<li><a href="/services">Things I host</a></li>
<li><a href="/cooking">Cooking</a></li>
</ul>
-->
{{ partial "menu" . }}
</div>
<div id="content">

View file

@ -0,0 +1,11 @@
<ul>
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL }}">
{{ .Pre }}
<span>{{ .Name }}</span>
</a>
</li>
{{ end }}
</ul>

View file

@ -0,0 +1,29 @@
<ul class="publications">
{{ $authors := .Page.Params.authors }}
{{ range .Page.Params.publications }}
<li>
<span class="authors">
{{ range .authors }}
{{ $author := . }}
{{ with $authors }}
{{ with (index . $author) }}
<span class="author">
{{- if isset . "page" -}}
<a href="{{ .page }}">{{ .name }}</a>
{{- else -}}
{{ .name -}}
{{- end -}}
</span>,
{{ end }}
{{ end }}
{{ end }}
</span>
<span class="title">{{ .title }}</span> in
<span class="journal">{{ .journal }}</span>
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>

View file

@ -0,0 +1,13 @@
<ul class="talks">
{{ range .Page.Params.talks }}
<li>
<span class="date">{{ dateFormat "Jan 2, 2006" .date }}</span>:
<span class="title">{{ .title }}</span> at
<span class="venue">{{ .venue }}</span>
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>

View file

@ -70,6 +70,10 @@ body {
color: $bg_color;
}
&.active {
margin-left: 20px;
}
}
}
}
@ -100,6 +104,7 @@ body {
margin: auto;
max-height: 100%;
max-width: 100%;
border-radius: 20px;
@media (max-width: $resp_vsmall) {
border-radius: 50%;
}
@ -183,3 +188,23 @@ dl {
unicode-bidi: bidi-override;
direction: rtl;
}
ul.publications, ul.talks {
li {
list-style: circle;
.authors {
font-style: italic;
}
.title {
font-weight: bold;
}
.journal, .venue {
}
.date {
}
}
}

View file

@ -50,6 +50,8 @@ body {
color: #fcffe4; }
#main-container .tab-selector ul li a:hover {
margin-left: 10px; }
#main-container .tab-selector ul li.active {
margin-left: 20px; }
#main-container #content {
margin: 2em auto;
max-width: 800px;
@ -71,7 +73,8 @@ body {
#main-container .profilepic img {
margin: auto;
max-height: 100%;
max-width: 100%; }
max-width: 100%;
border-radius: 20px; }
@media (max-width: 1000px) {
#main-container .profilepic img {
border-radius: 50%; } }
@ -133,3 +136,10 @@ dl {
.antispam {
unicode-bidi: bidi-override;
direction: rtl; }
ul.publications li, ul.talks li {
list-style: circle; }
ul.publications li .authors, ul.talks li .authors {
font-style: italic; }
ul.publications li .title, ul.talks li .title {
font-weight: bold; }