diff --git a/content/research.md b/content/research.md
index 30ed629..a1379c1 100644
--- a/content/research.md
+++ b/content/research.md
@@ -19,6 +19,12 @@ authors:
jch:
name: "J. Chroboczek"
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:
- authors:
@@ -52,6 +58,16 @@ talks:
links:
- name: 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
@@ -61,3 +77,7 @@ talks:
## {{< fontawesome "commenting" >}} Talks
{{< list-talks >}}
+
+## {{< fontawesome "coffee" >}} Unpublished written works
+
+{{< list-unpublished-written >}}
diff --git a/layouts/shortcodes/list-publications.html b/layouts/shortcodes/list-publications.html
index 1074569..526761e 100644
--- a/layouts/shortcodes/list-publications.html
+++ b/layouts/shortcodes/list-publications.html
@@ -13,11 +13,11 @@
{{- else -}}
{{ .name -}}
{{- end -}}
- ,
- {{ end }}
- {{ end }}
- {{ end }}
-
+
+ {{- end -}}
+ {{- end -}}
+ {{- end -}}
+ .
{{ .title }} in
{{ .journal }}
diff --git a/layouts/shortcodes/list-unpublished-written.html b/layouts/shortcodes/list-unpublished-written.html
new file mode 100644
index 0000000..b851db3
--- /dev/null
+++ b/layouts/shortcodes/list-unpublished-written.html
@@ -0,0 +1,29 @@
+
+ {{ $authors := .Page.Params.authors }}
+ {{ range sort .Page.Params.unpublished "date" "desc" }}
+ -
+ {{ .title }},
+ {{ .freetext }}. With
+
+ {{ range .with }}
+ {{ $author := . }}
+ {{ with $authors }}
+ {{ with (index . $author) }}
+
+ {{- if isset . "page" -}}
+ {{ .name }}
+ {{- else -}}
+ {{ .name -}}
+ {{- end -}}
+
+ {{- end -}}
+ {{- end -}}
+ {{- end -}}
+ .
+
+ {{ range .links }}
+ [{{ .name }}]
+ {{ end }}
+
+ {{ end }}
+
diff --git a/scss/style.scss b/scss/style.scss
index 0390246..3db5c15 100644
--- a/scss/style.scss
+++ b/scss/style.scss
@@ -189,12 +189,19 @@ dl {
direction: rtl;
}
-ul.publications, ul.talks {
+ul.publications, ul.talks, ul.unpublished {
li {
list-style: circle;
.authors {
font-style: italic;
+
+ .author:after {
+ content: ', ';
+ }
+ .author:last-child:after {
+ content: '';
+ }
}
.title {
diff --git a/static/css/style.css b/static/css/style.css
index dbeae1a..cf27e17 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -78,7 +78,6 @@ body {
@media (max-width: 1000px) {
#main-container .profilepic img {
border-radius: 50%; } }
-
.items {
display: grid;
grid-template-columns: 100px auto; }
@@ -137,9 +136,13 @@ dl {
unicode-bidi: bidi-override;
direction: rtl; }
-ul.publications li, ul.talks li {
+ul.publications li, ul.talks li, ul.unpublished li {
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; }
- 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; }