summaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
Diffstat (limited to 'resources')
-rw-r--r--resources/pug/finals/index.pug24
-rw-r--r--resources/sass/style.scss11
2 files changed, 27 insertions, 8 deletions
diff --git a/resources/pug/finals/index.pug b/resources/pug/finals/index.pug
index 1b8d6f9..394339e 100644
--- a/resources/pug/finals/index.pug
+++ b/resources/pug/finals/index.pug
@@ -44,6 +44,16 @@ block content
h2 Publications
mixin pub(year, title)
p
+ if attributes.oa
+ if attributes.doi
+ - var oaurl = 'https://doi.org/'+attributes.doi
+ else if attributes.url
+ - var oaurl = attributes.url
+ else
+ - throw 'pub: oa set but no doi or url'
+ a.oa(href!=oaurl, target='_blank')
+ i.ai.ai-lg.ai-open-access(title="Open Access")
+
if !attributes.authors
- attributes.authors = 'Camil Staps'
| #{attributes.authors}, #{year}.
@@ -80,11 +90,11 @@ block content
tr
td 2020
td
- +pub(2020, '"When Dust Was Poured Out": Creation in Job 38.36–38')(journal='Journal for the Study of the Old Testament', volume=44, issue=3, pages='456-471', url='https://doi.org/10.1177/0309089219862828')
+ +pub(2020, '"When Dust Was Poured Out": Creation in Job 38.36–38')(journal='Journal for the Study of the Old Testament', volume=44, issue=3, pages='456-471', doi='10.1177/0309089219862828', oa)
tr
td
td
- +pub(2020, 'Prepositions and the Grammaticalization of Ancient Hebrew Bipartite Reciprocal Markers')(journal='Journal of Semitic Studies', volume=65, issue=1, pages='61-84', url='https://doi.org/10.1093/jss/fgz050')
+ +pub(2020, 'Prepositions and the Grammaticalization of Ancient Hebrew Bipartite Reciprocal Markers')(journal='Journal of Semitic Studies', volume=65, issue=1, pages='61-84', doi='10.1093/jss/fgz050', oa)
tr
td 2019
td
@@ -99,26 +109,26 @@ block content
tr
td 2021
td
- +review(2021, 'Margaret Winters', 'Historical Linguistics')(journal='LINGUIST List', volume=32, issue=1438, url='https://linguistlist.org/issues/32/32-1438/')
+ +review(2021, 'Margaret Winters', 'Historical Linguistics')(journal='LINGUIST List', volume=32, issue=1438, url='https://linguistlist.org/issues/32/32-1438/', oa)
tr
td 2020
td
- +review(2020, 'Elitzur A. Bar-Asher Siegal', 'The NP-strategy for Expressing Reciprocity')(journal='Bibliotheca Orientalis', volume=77, issue='3/4', pages='318-322', url='https://scholarlypublications.universiteitleiden.nl/handle/1887/3142525')
+ +review(2020, 'Elitzur A. Bar-Asher Siegal', 'The NP-strategy for Expressing Reciprocity')(journal='Bibliotheca Orientalis', volume=77, issue='3/4', pages='318-322', url='https://scholarlypublications.universiteitleiden.nl/handle/1887/3142525', oa)
h4 Non-refereed work
table.main_table.publications
tr
td 2019
td
- +pub(2019, 'Tense, Aspect and Modality in Jewish Palestinian Aramaic')(misc='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', oa)
tr
td
td
- +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')
+ +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', oa)
tr
td 2017
td
- +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')
+ +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', oa)
h2 Talks
table.main_table
diff --git a/resources/sass/style.scss b/resources/sass/style.scss
index 1523344..cb7d62e 100644
--- a/resources/sass/style.scss
+++ b/resources/sass/style.scss
@@ -70,8 +70,17 @@ table {
}
&.publications > tbody > tr > td:last-child > p {
- margin-left: 1em;
+ margin-left: 2em;
text-indent: -1em;
+
+ /* Some ugly hard-coding to get the OA links to align nicely */
+ > a.oa {
+ display: inline-block;
+
+ > i {
+ margin-left: .3em;
+ }
+ }
}
}