File tree 5 files changed +43
-0
lines changed
5 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+
2
+ ```{=html}
3
+ <ul class =" pub-list list" >
4
+ <% for (const item of items) { % >
5
+ < br>
6
+ < li < %= metadataAttrs (item) % >>
7
+ < span class = " listing-title lead" >< %= item .title % >< / span>< br / >
8
+ < span class = " listing-author" >< %= item .author % >< / span>< br / >
9
+ < span class = " listing-publication fst-italic " >< %= item .publication % >< / span>
10
+ < span class = " listing-year" > (< %= item .year % > )< / span>< br / >
11
+ < a href= " <%- item.path %>" class = " btn btn-primary" >
12
+ Details
13
+ < / a>
14
+ < % if (item .doi ) { % >
15
+ < a href= " <%- item.doi %>" class = " btn btn-secondary" target= " _blank" rel= " noopener noreferrer" >
16
+ DOI
17
+ < / a>
18
+ < % } % >
19
+ < % if (item .pdf ) { % >
20
+ < a href= " <%- item.pdf %>" class = " btn btn-secondary" target= " _blank" rel= " noopener noreferrer" >
21
+ < i class = " bi bi-file-earmark-text" >< / i> PDF
22
+ < / a>
23
+ < % } % >
24
+ < % if (item .preprint ) { % >
25
+ < a href= " <%- item.preprint %>" class = " btn btn-secondary" target= " _blank" rel= " noopener noreferrer" >
26
+ < i class = " bi bi-file-earmark-text" >< / i> Preprint
27
+ < / a>
28
+ < % } % >
29
+ < % if (item .data ) { % >
30
+ < a href= " <%- item.data %>" class = " btn btn-light" target= " _blank" rel= " noopener noreferrer" >
31
+ < i class = " bi bi-file-earmark-zip" >< / i> Data
32
+ < / a>
33
+ < % } % >
34
+ < % if (item .code ) { % >
35
+ < a href= " <%- item.code %>" class = " btn btn-light" target= " _blank" rel= " noopener noreferrer" >
36
+ < i class = " bi bi-file-earmark-zip" >< / i> Code
37
+ < / a>
38
+ < % } % >
39
+ < / li>
40
+ < % } %>
41
+ </ul >
42
+
43
+ ```
You can’t perform that action at this time.
0 commit comments