forked from adessoSE/devblog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
78 lines (63 loc) · 1.84 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
layout: default
sitemap: false
pagination:
enabled: true
---
{% include display-content.html %}
<div class="row">
<div class="adesso-container adesso-blog-overview">
<div class="adesso-events adesso-blog-article adesso-text-formate adesso-secondary-red">
<div class="col-xl-8 adesso-center adesso-news p-b-3 p-t-3 p-l-0 p-r-0 ">
<div class="adesso-news-elem adesso-news-headline">
<h1><span class="adesso-headline-text">Neueste Beiträge</span>
</h1>
</div>
{% for post in paginator.posts %}
{% if post.layout == 'post' %}
{% assign author = site.data.authors[post.author] %}
<div class="adesso-news-elem p-b-1 p-t-2">
<div class="col-md-10 p-b-1 adesso-p-md-r-3 p-r-2 p-l-0">
<p class="adesso-date">{{ post.date | date: "%d.%m.%Y" }}
<span class="adesso-location">von {{ author.first_name }} {{ author.last_name }}
</span>
</p>
<h2 class="m-b-075"><a href="{{post.url | prepend:site.baseurl }}">{{ post.title }}</a></h2>
{% if post.subline %}
<div class="i2-intro">
<p>{{ post.subline }}</p>
</div><!--/i2-intro-->
{% endif %}
</div><!--/col-md-10-->
<div class="col-md-2 p-b-1 p-t-2 m-t-2 p-l-0 p-r-0 adesso-negative-margin-1">
<img class="img-circle center-block adesso-3-8" src="{{ author.avatar_url | prepend: site.baseurl }}" alt=" ">
</div><!--/col-md-2-->
</div><!--/adesso-news-elem-->
<div class="p-1 p-t-3 adesso-weblinks">
{{ post.excerpt }}
</div><!--/p-t-2-->
<div class="adesso-weblinks">
<a href="{{ post.url | prepend:site.baseurl }}">
<svg class="adesso-arrow-icon">
<use xlink:href="#adesso--arrowlink"/>
</svg>
weiterlesen
</a>
</div><!--/weblinks-->
<table class="table m-t-1">
<tbody>
<tr>
<td class="adesso-taxonomie">Autor</td>
<td>{{ author.first_name }} {{ author.last_name }}</td>
</tr>
</tbody>
</table>
{% endif %}
{% endfor %}
<!-- Pagination links -->
{% include paginator.html %}
<!-- TODO -->
</div>
</div>
</div>
</div>