-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
49 lines (45 loc) · 1.61 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
---
layout: default
title: "INLS 560 - Spring 2016"
---
<div class="row">
<div class="small-12">
<ul class="post">
{% for post in site.posts %}
{% assign print = "true" %}
{% for category in site.special-categories %}
{% if post.categories contains category %}
{% assign print = false %}
{% endif %}
{% if post.published == false %}
{% assign print = false %}
{% endif %}
{% endfor %}
{% if print %}
{% for authors in post.author %}
{% if {{site.authors[authors].prof}} == true %}
<strong>
{% endif %}
{% endfor %}
<li><strong><span>{{ post.date | date_to_string }}</span> »</strong> <a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a> by
{% assign authorCount = post.author | size %}
{% if authorCount == 0 %}
{% elsif authorCount == 1 %}
{{ post.author | first }}
{% else %}
{% for authors in post.author %}{% if forloop.first %}{% assign authored = site.authors[authors] %}
{{ authored.name }}{% elsif forloop.last %}
{% assign authored = site.authors[authors] %}
and {{ authored.name }}{% else %}{% assign authored = site.authors[authors] %}, {{ authored.name }}{% endif %}{% endfor %}
{% endif %}
</li>
{% for authors in post.author %}
{% if {{site.authors[authors].prof}} == true %}
</strong>
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</ul>
</div>
</div>