-
Notifications
You must be signed in to change notification settings - Fork 1
/
toc.html
24 lines (23 loc) · 1.02 KB
/
toc.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
---
layout: default
---
<article class="post" role="article" itemscope itemtype="http://schema.org/BlogPosting">
{% for post in site.posts %}
<header class="post-header">
<ul>
<li><time datetime="{{ post.date | date_to_xmlschema }}" itemprop="datePublished">{{ post.date | date: "%-d %b, %Y" }}</time></li>
{% if site.show_categories == 1 and post.category %}
<li class="cats">
{% for category in post.category %}
<a href="{{site.baseurl}}/{{site.category_dir}}/{{category}}/">{{ category }}</a>
{% endfor %}
</li>
{% endif %}
{% if post.doi %}
<li class="cats"><a href="{{ post.doi | prepend: 'https://doi.org/' }}">{{ post.doi | prepend: 'DOI: ' }}</a></li>
{% endif %}
</ul>
<h1 itemprop="name headline"><a href="{{ post.url | prepend: site.baseurl | prepend: site.url }}">{{ post.title }}</a></h1>
</header>
{% endfor %}
</article>