bug fix grid left and right
This commit is contained in:
parent
d86e9480e1
commit
2761d079ee
1 changed files with 8 additions and 8 deletions
|
@ -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 %}
|
||||
|
|
Reference in a new issue