basic layout and first blog posts

This commit is contained in:
Timm Szigat
2015-09-06 13:31:38 +02:00
parent 12fc75d1de
commit 038c08a7a6
16 changed files with 1248 additions and 373 deletions

View File

@ -2,22 +2,18 @@
layout: default
---
<div class="home">
<h1 class="page-heading">Posts</h1>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h1 style="padding-left:160px; padding-bottom:20px;">
{{ site.title }}
</h1>
{% for post in site.posts %}
<div class="post">
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe">subscribe <a href="{{ "/feed.xml" | prepend: site.baseurl }}">via RSS</a></p>
</div>
<p class="date">
{{ post.date | date: "%b %-d, %Y" }} {{ post.post_author }}
</p>
{{ post.content }}
</div>
{% endfor %}