-
Notifications
You must be signed in to change notification settings - Fork 0
/
papers.html
91 lines (66 loc) · 2.35 KB
/
papers.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
---
layout: default
title: Papers
permalink: /papers/
redirect_to:
- https://hugheylab.org/papers/
---
<div class="post">
<h1 class="post-title">Papers</h1>
{% comment %} Count publications backwards. {% endcomment %}
{% assign count = site.data.preprints.size | plus: site.data.postprints.size %}
<ul class="pub-list">
<li class="pub-section">Preprints</li>
{% for pub in site.data.preprints %}
<li>
<!-- {{ count | minus: forloop.index0 }}. -->
{{ pub.title }}.<br/>
{{ pub.authors }}. {{ pub.ref }} ({{ pub.year }}).<br/>
{% if pub.abstract %}
<a href="../abstracts/{{ pub.abstract }}">Abstract</a>
{% endif %}
<!-- {% if pub.pdf %}
<a href="../assets/{{ pub.abstract }}.pdf">PDF</a>
{% endif %}
{% if pub.supp %}
<a href="../assets/{{ pub.supp }}">Supp</a>
{% endif %} -->
{% if pub.doi %}
<a href="https://doi.org/{{ pub.doi }}">Journal</a>
{% endif %}
{% if pub.results %}
<a href="{{ pub.results }}">Results</a>
{% endif %}
</li>
{% endfor %}
<li class="pub-section">Postprints</li>
{% for pub in site.data.postprints %}
<li>
<!-- {{ count | minus: site.data.preprints.size | minus: forloop.index0 }}. -->
{{ pub.title }}.<br/>
{{ pub.authors }}. {{ pub.ref }} ({{ pub.year }}).<br/>
{% if pub.abstract %}
<a href="../abstracts/{{ pub.abstract }}">Abstract</a>
{% endif %}
{% if pub.pdf %}
<a href="../assets/{{ pub.abstract }}.pdf">PDF</a>
{% endif %}
{% if pub.supp %}
<a href="../assets/{{ pub.supp }}">Supp</a>
{% endif %}
{% if pub.results %}
<a href="{{ pub.results }}">Results</a>
{% endif %}
{% if pub.reviews %}
<a href="../assets/{{ pub.reviews }}">Reviews</a>
{% endif %}
{% if pub.doi %}
<a href="https://doi.org/{{ pub.doi }}">Journal</a>
{% endif %}
{% if pub.pmid %}
<a href="https://www.ncbi.nlm.nih.gov/pubmed/{{ pub.pmid }}">Pubmed</a>
{% endif %}
</li>
{% endfor %}
</ul>
</div>