1
0
Fork 0

bug fix grid left and right

This commit is contained in:
Moritz »mo.« Sauer 2015-02-26 15:20:13 +01:00
parent d86e9480e1
commit 2761d079ee

View file

@ -3,14 +3,7 @@ layout: default
format: post
---
<div class="row t30">
{% if page.sidebar == "left" %}
<div class="medium-4 columns">
{% include sidebar.html %}
</div><!-- /.medium-4.columns -->
{% endif %}
<div class="medium-8 columns{% if page.sidebar == "" %} medium-offset-2 end{% endif %}">
<div class="medium-8 columns{% if page.sidebar == "" %} medium-offset-2 end{% endif %}{% if page.sidebar == "left" %} medium-push-4{% endif %}">
<article itemscope itemtype="http://schema.org/Article">
<header>
{% if page.image.title %}<img src="{{ site.url }}/images/{{ page.image.title }}" width="970" alt="{{ page.title escape_once }}" itemprop="image">{% endif %}
@ -48,6 +41,13 @@ format: post
</div><!-- /.medium-8.columns -->
{% if page.sidebar == "left" %}
<div class="medium-4 columns medium-pull-8">
{% include sidebar.html %}
</div><!-- /.medium-4.columns -->
{% endif %}
{% if page.sidebar == "right" %}
<div class="medium-4 columns">
{% include sidebar.html %}