forked from openingscience/book
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
33 lines (33 loc) · 1.03 KB
/
index.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
---
layout: default
title: Opening Science
doi: 10.1007/978-3-319-00026-8
modified_date: 19 January 2014
---
{% for category in site.categories %}
<div class="toc">
<h2>{{ category | first | titleize }}</h2>
{% assign number = category.last.last.date | date: "%d" %}
<ol start="{{ number }}">
{% for post in category.last reversed %}
{% if category.first == "preface" %}
<li class="nostyle">
{% else %}
<li>
{% endif %}
<div class="toc-item">
<h3><a href="{{ BASE_PATH }}{{ post.url }}">{{ post.title }}</a></h3>
{% if post.authors %}<p>{% for author in post.authors %}
{{ author.name }}{% if forloop.rindex > 2 %}, {% elsif forloop.rindex > 1 %} & {% endif %}{% endfor %}</p>
{% endif %}
{% if post.abstract %}
<div class="abstract">
{{ post.abstract | markdownify }}
</div>
{% endif %}
</div>
</li>
{% endfor %}
</ol>
</div>
{% endfor %}