-
Notifications
You must be signed in to change notification settings - Fork 6
/
blog.html
executable file
·27 lines (27 loc) · 990 Bytes
/
blog.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
---
layout: default
title: Blog
permalink: /blog/
---
<section class='page blog'>
<h1 class='heading'>Neuigkeiten</h1>{% for post in site.posts %}
<article>
<header>
<span class='post-meta'>{% include date.html date=post.date %}</span>
<h2><a class='post-link' href='{{ post.url | prepend: site.baseurl }}'>{{ post.title }}</a></h2>
</header>
{% if post.content contains '<!--more-->' %}
{{ post.content | split:'<!--more-->' | first }}
{% else %}
{{ post.excerpt }}
{% endif %}
<footer>
{% if post.content contains '<!--more-->' %}
<a href='{{ post.url | prepend: site.baseurl }}'>Weiterlesen … </a>
{% endif %}
</footer>
</article>{% endfor %}
<footer class='rss-subscribe'>
<p><a href='{{ '/feed.xml' | prepend: site.baseurl }}'>via RSS</a> abonnieren
</footer>
</section>