forked from benradford/Slate-and-Simple-Jekyll-Theme
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (44 loc) · 1.44 KB
/
index.html
File metadata and controls
51 lines (44 loc) · 1.44 KB
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
---
layout: post-index
---
{% for post in paginator.posts %}
<article>
<!-- POST FEATURED IMAGE -->
<div class="featured-image">
{% if post.featured-image == "" or post.featured-image == nil %}
<img src="/images/default-header.png", style="width:100%">
{% else %}
<img src="{{ post.featured-image }}" style="width:100%">
{% endif %}
</div>
<!-- POST TITLE -->
<header>
<h1 class="entry-title">
<a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}" itemprop="url">{{ post.title }}</a>
</h1>
<h3 class="entry-subtitle">
<a href="{{ site.url }}{{ post.url }}" rel="bookmark" title="{{ post.title }}" itemprop="url">{{ post.subtitle }}</a>
</h3>
</header>
<!-- POST BYLINE -->
<div class="post-byline">
<i>{{ post.venue }}</i> <br>
{{ post.author }} <br>
<a href="{{ post.link-download }}">{{ post.link-text }}</a>
</div><br>
<!-- POST DATE -->
<div class="post-date">
{{ post.date | date: "%B %-d, %Y" }}
</div>
<!--- DIVIDING LINE -->
<hr>
<!-- POST TAGS -->
<div class="inline-tags">
<span>
{% for tag in post.tags %}
<a href="/tags/#{{tag}}">#{{ tag }} </a>
{% endfor %}
</span>
</div>
</article>
{% endfor %}