-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathunpublished.html
More file actions
51 lines (49 loc) · 1.7 KB
/
unpublished.html
File metadata and controls
51 lines (49 loc) · 1.7 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
---
title: Blog
layout: default
---
<!-- Main -->
<section class="wrapper style1">
<div class="container">
<div id="content">
<div class="row">
<div class="12u">
<!-- Blog -->
<section>
<header class="major">
<h2>Aktuelle unveroeffentlichte Meldungen</h2>
</header>
<h1>Number posts: {{ site.posts.size }} </h1>
{% assign postCounter = 0 %}
{% for post in site.posts %}
{% assign postCounter = postCounter | plus: 1 %}
<!--
<h1> {{ postCounter}} post published:{{ post.title}}:{{ post.published }} </h1>
-->
{% unless post.published or post.published == true %}
<div class="row">
<section class="12u">
<div class="box post">
{% if post.featured %}
<a href="{{ site.baseurl }}{{ post.url }}" class="image left">
<img src="{{ site.baseurl }}{{ post.featured }}" alt="">
</a>
{% endif%}
<div class="inner">
<h3>{{ post.title }}</h3>
{{ post.excerpt }}
<footer>
<a href="{{ site.baseurl }}{{ post.url }}" class="button">Weiter lesen</a>
</footer>
</div>
</div>
</section>
</div>
{% endunless %}
{% endfor %}
</section>
</div>
</div>
</div>
</div>
</section>