diff options
author | Camil Staps | 2019-12-21 23:01:08 +0100 |
---|---|---|
committer | Camil Staps | 2019-12-21 23:01:08 +0100 |
commit | d2ff8c0519fcdb07e33a9df4fc665c5ae77a3780 (patch) | |
tree | 2a246c540e77b6cc39bf309ca06e649a68d182be | |
parent | Add FP-Day 2020 talk (diff) |
Change publication mixin to be able to deal properly with book sections and theses
-rw-r--r-- | resources/pug/finals/index.pug | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug index a91376b..b80c280 100644 --- a/resources/pug/finals/index.pug +++ b/resources/pug/finals/index.pug @@ -27,17 +27,24 @@ block content p if !attributes.authors - attributes.authors = 'Camil Staps' - | #{attributes.authors}, #{year}. ' + | #{attributes.authors}, #{year}. + if attributes.journal + |' if attributes.url a(href!=attributes.url, target="_blank")!= title else | !{title} - |'. - | !{attributes.prejournal}#[em!=attributes.journal] - if attributes.volume - | #{attributes.volume} - if attributes.issue - | (#{attributes.issue}) + if attributes.journal + |'. + | !{attributes.prejournal}#[em!=attributes.journal] + if attributes.volume + | #{attributes.volume} + if attributes.issue + | (#{attributes.issue}) + else if attributes.booktitle + | , in #{attributes.editors} (eds.), #[em!=attributes.booktitle] + else + | . #{attributes.misc} if attributes.pages - attributes.pages = attributes.pages.replace('-', '–') | , pp. !{attributes.pages} @@ -62,15 +69,15 @@ block content tr td 2019 td - +pub(2019, 'Tense, Aspect and Modality in Jewish Palestinian Aramaic')(prejournal='Master thesis, Leiden University', url='https://hdl.handle.net/1887/77991') + +pub(2019, 'Tense, Aspect and Modality in Jewish Palestinian Aramaic')(misc='Master thesis, Leiden University', url='https://hdl.handle.net/1887/77991') tr td td - +pub(2019, 'Lazy Interworking of Compiled and Interpreted Code for Sandboxing and Distributed Systems')(prejournal='Master thesis, Radboud University Nijmegen', url='https://www.ru.nl/publish/pages/769526/thesis_1.pdf') + +pub(2019, 'Lazy Interworking of Compiled and Interpreted Code for Sandboxing and Distributed Systems')(misc='Master thesis, Radboud University Nijmegen', url='https://www.ru.nl/publish/pages/769526/thesis_1.pdf') tr td 2017 td - +pub(2017, 'Code generation for the Thumb-2 instruction set')(prejournal='Bachelor thesis, Radboud University Nijmegen', url='https://cs.ru.nl/bachelorscripties/2017/Camil_Staps___4498062___Code-generation-for-the-Thumb-2-instruction-set.pdf') + +pub(2017, 'Code generation for the Thumb-2 instruction set')(misc='Bachelor thesis, Radboud University Nijmegen', url='https://cs.ru.nl/bachelorscripties/2017/Camil_Staps___4498062___Code-generation-for-the-Thumb-2-instruction-set.pdf') h2 Talks table.main_table |