generated from ericdaat/research-lab-website
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpublications-1.html
52 lines (43 loc) · 1.52 KB
/
publications-1.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
---
title: "Publications"
layout: default
excerpt: "RT2 Lab -- Publications."
sitemap: false
permalink: /publications/
---
<h1>{{page.title}}</h1>
<div class="panel-group" id="accordion">
<div class="panel panel-default">
{% for publi in site.data.publications %}
<div class="panel-heading">
<a data-toggle="collapse" data-parent="#accordion"
href="#collapse{{forloop.index}}"
style="color: inherit;">
<!-- authors -->
{% assign authors = "" | split:"/" %}
{% for author in publi.author %}
{% assign authors = authors | push: author.family %}
{% endfor %}
{{ authors | array_to_sentence_string }},
<!-- title with link -->
"{{ publi.title }}",
<!-- container -->
<b>{{ publi.container-title }}</b>
<!-- issued date -->
({{ publi.issued.date-parts | jsonify | slice: 3,4 }}),
<!-- DOI -->
{% if publi.DOI %}
<a href="https://doi.org/{{publi.DOI}}">DOI:{{publi.DOI}}</a>
{% endif %}
</a>
</div>
<div id="collapse{{forloop.index}}" class="panel-collapse collapse">
<div class="panel-body">
<p>{{ publi.abstract }}</p>
<a class="btn btn-outline-primary" href="https://doi.org/{{publi.DOI}}"
role="button" target="blank">Link</a>
</div>
</div>
{% endfor %}
</div>
</div>