1
0
Fork 0

Simplified Theme

This commit is contained in:
Moritz »mo.« Sauer 2015-02-17 21:34:07 +01:00
parent 5f5bf5659e
commit 74c2f9a235
42 changed files with 424 additions and 426 deletions

View file

@ -1,7 +1,7 @@
---
layout: default
title: "Blog Archive"
description: "Check out all blog posts in my blog archive. Click on a headline to read the teaser."
teaser: "Check out all blog posts in my blog archive. Click on a headline to read the teaser."
breadcrumb: true
image:
header: header_unsplash_8.jpg
@ -10,7 +10,7 @@ permalink: "blog/archive/"
<div id="blog-index" class="row">
<div class="small-12 columns t30">
<h1>{{ page.title }}</h1>
{% if page.description %}<p class="teaser">{{ page.description }}</p>{% endif %}
{% if page.teaser %}<p class="teaser">{{ page.teaser }}</p>{% endif %}
<dl class="accordion" data-accordion>
{% assign counter = 1 %}
@ -18,7 +18,7 @@ permalink: "blog/archive/"
<dd class="accordion-navigation">
<a href="#panel{{ counter }}"><span class="iconfont"></span> {% if post.subheadline %}{{ post.subheadline }} {% endif %}<strong>{{ post.title }}</strong></a>
<div id="panel{{ counter }}" class="content">
{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.description %}{{ post.description | strip_html | escape }}{% endif %}
{% if post.meta_description %}{{ post.meta_description | strip_html | escape }}{% elsif post.teaser %}{{ post.teaser | strip_html | escape }}{% endif %}
<a href="{{ site.url }}{{ post.url }}" title="Read {{ post.title escape_once }}"><strong>{{ site.data.language.read_more }}</strong></a><br><br>
</div>
</dd>