-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·24 lines (23 loc) · 935 Bytes
/
index.html
File metadata and controls
executable file
·24 lines (23 loc) · 935 Bytes
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: main
---
{% for post in site.posts reversed %}
<!---all posts with the term attribute and it's the current one-->
{% if post.term == site.current_term %}
<article class="post">
{% if post.img %}
<a class="post-thumbnail" style="background-image: url({{'/assets/img/' | prepend: site.baseurl | append : post.img}})" href="{{post.url | prepend: site.baseurl}}"></a>
{% else %}
{% endif %}
<div class="post-content">
<h2 class="post-title"><a href="{{post.url | prepend: site.baseurl}}">{{post.title}}</a></h2>
{% if post.abcd_title %}
<p>{{ post.abcd_title }} / {{ post.repronim_title }}</p>
{% else %}
<p>{{ post.description }}</p>
{% endif %}
<span class="post-date">{{post.date | date: '%b %d %Y'}}</span>
</div>
</article>
{% endif %}
{% endfor %}