Add unpublished works in research

This commit is contained in:
Théophile Bastian 2020-06-19 16:55:43 +02:00
parent 9de12d93bf
commit 88fd252c40
5 changed files with 69 additions and 10 deletions

View file

@ -19,6 +19,12 @@ authors:
jch: jch:
name: "J. Chroboczek" name: "J. Chroboczek"
page: "https://www.irif.fr/~jch/" page: "https://www.irif.fr/~jch/"
msheeran:
name: "M. Sheeran"
page: "http://www.cse.chalmers.se/~ms/"
cseger:
name: "C-J. Seger"
page: "https://www.chalmers.se/en/Staff/Pages/secarl.aspx"
publications: publications:
- authors: - authors:
@ -52,6 +58,16 @@ talks:
links: links:
- name: PDF - name: PDF
url: '/doc/talks/oopsla19.pdf' url: '/doc/talks/oopsla19.pdf'
unpublished:
- with:
- cseger
- msheeran
title: "Pattern matching and substitution in electronic circuits"
freetext: "internship report, Master's Degree 1st year, at Chalmers, Göteborg (Sweden)"
links:
- name: PDF
url: '/m1/internship.pdf'
--- ---
## {{< fontawesome "file-text" >}} Publications ## {{< fontawesome "file-text" >}} Publications
@ -61,3 +77,7 @@ talks:
## {{< fontawesome "commenting" >}} Talks ## {{< fontawesome "commenting" >}} Talks
{{< list-talks >}} {{< list-talks >}}
## {{< fontawesome "coffee" >}} Unpublished written works
{{< list-unpublished-written >}}

View file

@ -13,11 +13,11 @@
{{- else -}} {{- else -}}
{{ .name -}} {{ .name -}}
{{- end -}} {{- end -}}
</span>,
{{ end }}
{{ end }}
{{ end }}
</span> </span>
{{- end -}}
{{- end -}}
{{- end -}}
</span>.
<span class="title">{{ .title }}</span> in <span class="title">{{ .title }}</span> in
<span class="journal">{{ .journal }}</span> <span class="journal">{{ .journal }}</span>

View file

@ -0,0 +1,29 @@
<ul class="unpublished">
{{ $authors := .Page.Params.authors }}
{{ range sort .Page.Params.unpublished "date" "desc" }}
<li>
<span class="title">{{ .title }}</span>,
<span class="freetext">{{ .freetext }}</span>. With
<span class="authors">
{{ range .with }}
{{ $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>.
{{ range .links }}
<span class="doclink"><a href="{{ .url }}">[{{ .name }}]</a></span>
{{ end }}
</li>
{{ end }}
</ul>

View file

@ -189,12 +189,19 @@ dl {
direction: rtl; direction: rtl;
} }
ul.publications, ul.talks { ul.publications, ul.talks, ul.unpublished {
li { li {
list-style: circle; list-style: circle;
.authors { .authors {
font-style: italic; font-style: italic;
.author:after {
content: ', ';
}
.author:last-child:after {
content: '';
}
} }
.title { .title {

View file

@ -78,7 +78,6 @@ body {
@media (max-width: 1000px) { @media (max-width: 1000px) {
#main-container .profilepic img { #main-container .profilepic img {
border-radius: 50%; } } border-radius: 50%; } }
.items { .items {
display: grid; display: grid;
grid-template-columns: 100px auto; } grid-template-columns: 100px auto; }
@ -137,9 +136,13 @@ dl {
unicode-bidi: bidi-override; unicode-bidi: bidi-override;
direction: rtl; } direction: rtl; }
ul.publications li, ul.talks li { ul.publications li, ul.talks li, ul.unpublished li {
list-style: circle; } list-style: circle; }
ul.publications li .authors, ul.talks li .authors { ul.publications li .authors, ul.talks li .authors, ul.unpublished li .authors {
font-style: italic; } font-style: italic; }
ul.publications li .title, ul.talks li .title { ul.publications li .authors .author:after, ul.talks li .authors .author:after, ul.unpublished li .authors .author:after {
content: ', '; }
ul.publications li .authors .author:last-child:after, ul.talks li .authors .author:last-child:after, ul.unpublished li .authors .author:last-child:after {
content: ''; }
ul.publications li .title, ul.talks li .title, ul.unpublished li .title {
font-weight: bold; } font-weight: bold; }