-
Notifications
You must be signed in to change notification settings - Fork 5
/
cikkek.html
33 lines (33 loc) · 1.02 KB
/
cikkek.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-wide
title: Cikkek
---
{% for post in site.posts %}<a class="post-href" href='{{ post.url }}'>
<div class='post-preview'>
<div class='post-wrapper'>
<img src='{{ post.image }}'>
<div class='post-content'>
<h1>{{ post.title }}</h1>
<p>{{ post.excerpt }}</p>
<div class='post-meta'>
<span class='post-author'>
{%- assign first = true -%}
{%- for member in site.members -%}
{%- for author in post.author -%}
{%- if member.username == author -%}
{%- if first == true -%}
{{- member.name -}}
{%- assign first = false -%}
{%- else -%},
{{ member.name }}
{%- endif -%}
{%- endif -%}
{%- endfor -%}
{%- endfor -%}
</span>
<span class='post-date'>{{ post.date | date: "%Y.%m.%d." }}</span>
</div>
</div>
</div>
</div>
</a>{% endfor %}