Implementing facebook galleries

Improved navigator
This commit is contained in:
Open-Steps.org 2015-02-13 21:11:03 +01:00
parent e06f538690
commit 515bbe0ed2
26 changed files with 120 additions and 61 deletions

View file

@ -68,26 +68,41 @@ layout: default
</div>
<div class="row">
{% if page.fb_gallery_id %}
<div class="gallery dark_bg col-md-4 col-md-offset-3">
<div class="row">
<h4>Photo gallery of the event</h4>
<div class="gallery dark_bg col-md-7 col-md-offset-3">
<h4>Photo gallery of the event</h4>
<div class="picbook"></div>
<script type="text/javascript">
var picbook = new picbookJs({
limit: 100,
albumId: '{{page.fb_gallery_id}}'
});
</script>
</div>
</div>
<div class="nav_bottom dark_bg col-md-2 col-md-offset-1">
<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 %}
</div>
</div>
</article>
{% endif %}
</div>
<div class="row">
<div class="nav_bottom dark_bg col-md-7 col-md-offset-3">
<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 %}
</div>
</div>
</article>
</div>