little layout fixes

This commit is contained in:
Open-Steps.org 2015-03-04 13:07:55 +01:00
parent a545ab39b0
commit ef6c4dc324
5 changed files with 38 additions and 19 deletions

View file

@ -15,7 +15,11 @@ layout: default
<h4>{{page.date_text}}</h4>
{% if page.location %}
<p><a class="highlight button hvr-sweep-to-top" href={{page.location_website}} target="_blank">{{page.location}}</a></p>
<p><a class="highlight button hvr-sweep-to-top" href={{page.location_website}} target="_blank">{{page.location}}</a>
{% if page.fb_event_url %}
<a class="highlight button hvr-sweep-to-top" target="_blank" href={{page.fb_event_url}}><i class="fa fa-facebook-square"></i></a>
{% endif %}
</p>
{% endif %}
<p>
@ -31,6 +35,12 @@ layout: default
</ul>
</p>
{% if page.fb_event_url %}
<p>
<a target="_blank" href="{{fb_event_url}}"><i class="fa fa-facebook-square"></i></a>
</p>
{% endif %}
</div>
<div class="event event-{{page.number}} dark_bg col-md-7">
@ -98,8 +108,8 @@ layout: default
<h4>Discover more</h4>
{% if page.previous %}
<a class="button hvr-sweep-to-top" href={{page.previous.url | prepend: site.baseurl }}>{{page.previous.title}}</a> {% endif %} {% if page.next %}
<a class="button hvr-sweep-to-top" href={{page.next.url | prepend: site.baseurl }}>{{page.next.title}}</a> {% endif %}
<a class="button hvr-sweep-to-top left" href={{page.previous.url | prepend: site.baseurl }}>#{{page.previous.number}}: {{page.previous.date_text}} {{page.previous.title}}</a> {% endif %} {% if page.next %}
<a class="button hvr-sweep-to-top right" href={{page.next.url | prepend: site.baseurl }}>#{{page.next.number}}: {{page.next.date_text}} {{page.next.title}}</a> {% endif %}
</div>