Browse Source

fixed pagination after reading docs

redesign
Anxhelo Lushka 7 years ago
parent
commit
7ed0ed1ae9
  1. 4
      _config.yml
  2. 0
      _events/2017-01-25-osd-workshop-1-tirana.md
  3. 8
      _layouts/event.html

4
_config.yml

@ -22,12 +22,10 @@ markdown: kramdown
gems:
- jekyll-paginate
- jekyll-compose
- jekyll-
paginate: 6
paginate_path: "blog/older:num"
collections:
- events
output: true
collections_dir: events

0
events/_events/2017-01-25-osd-workshop-1-tirana.md → _events/2017-01-25-osd-workshop-1-tirana.md

8
_layouts/event.html

@ -14,7 +14,7 @@ section_id: event
</div>
</div>
<div class="three spacing"></div>
<!-- <div class="three spacing"></div>
{{content}}
{% if paginator %}
<div class="full light-grey blog">
@ -29,7 +29,7 @@ section_id: event
{% endif %}
{% else %}
<!-- <span class="newer">Newer Entries</span> -->
{% endif %}
<!-- {% endif %}
</div>
<div class="small-6 columns">
{% if paginator.next_page %}
@ -40,9 +40,9 @@ section_id: event
{% endif %}
{% else %}
<!-- <span class="older">Older Entries</span> -->
{% endif %}
<!-- {% endif %}
</div>
</div>
</nav>
</div>
{% endif %}
{% endif %} --> --> -->

Loading…
Cancel
Save