From 88fd252c40def6b745719094535a2f3423c86bf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9ophile=20Bastian?= Date: Fri, 19 Jun 2020 16:55:43 +0200 Subject: [PATCH] Add unpublished works in research --- content/research.md | 20 +++++++++++++ layouts/shortcodes/list-publications.html | 10 +++---- .../shortcodes/list-unpublished-written.html | 29 +++++++++++++++++++ scss/style.scss | 9 +++++- static/css/style.css | 11 ++++--- 5 files changed, 69 insertions(+), 10 deletions(-) create mode 100644 layouts/shortcodes/list-unpublished-written.html 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 @@ + 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; }