1
0
Fork 0

new frontpage layout

This commit is contained in:
Moritz »mo.« Sauer 2015-02-12 18:36:02 +01:00
parent 7249978c52
commit 8c2df412d5
10 changed files with 229 additions and 210 deletions

View file

@ -6,13 +6,14 @@ format: post-right-sidebar
<div class="medium-8 columns">
<article>
<header>
{% if page.subheadline %}<p class="subheadline">{{ page.subheadline }}</p>{% endif %}
{% if page.image.title %}<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}">{% endif %}
{% if page.image.url && page.image.credit %}
<p class="text-right caption">
<a href="{{ page.image.url }}">{{ page.image.credit }}</a>
</p>
{% endif %}
{% if page.subheadline %}<p class="subheadline">{{ page.subheadline }}</p>{% endif %}
<h1>{{ page.title }}</h1>
</header>
{% if page.description %}
@ -24,7 +25,6 @@ format: post-right-sidebar
{{ content }}
{% include meta_information.html %}
</article>
</div><!-- /.medium-8.columns -->
@ -33,4 +33,3 @@ format: post-right-sidebar
{% include sidebar.html %}
</div><!-- /.medium-4.columns -->
</div><!-- /.row -->