-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.html
36 lines (34 loc) · 1.47 KB
/
archive.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
---
layout: page
title: Archiv
permalink: /archive/
---
<div class="darkcontainer" style="height:12px;"></div>
<div class="container">
<div class="row-same-height">
<h2><a name="archiv"></a><a href="/archive/">Archiv</a></h2>
{% assign loopindex = 0 %}
{% for post in site.posts %}
{% assign loopindex=loopindex | plus:1 %}
{% assign testli=loopindex | modulo:4 %}
<div class="col-md-3 col-sm-6 col-xs-12" style="max-width:250px;min-height:300px;">
<a href="{% if post.remote %}{{ post.remote }} {% else %} {{ post.url | prepend: site.baseurl }} {% endif %}">
<img width="220px" src="{{ post.img | prepend: site.baseurl }}" alt="{{ post.imgalt }}"
title="{{ post.title }}" />
</a><br />
<div class="desc{% if post.largedesc %}{{"-large"}}{% endif %}">
{% if post.remote %}
{{post.content}}
{% else %}
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title}}</a><br>
{% if post.nopreview %}
{%else%}
{{ post.excerpt }}
{%endif%}
{%endif%}
</div>
</div> <!-- END grid/grid-last -->
{% if testli == 0 %} </div><div class="grid-separator"></div><div class="row-same-height">{% endif %}
{% endfor %}
</div><!-- END row -->
</div><!-- END Container -->