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: gems:
- jekyll-paginate - jekyll-paginate
- jekyll-compose - jekyll-compose
- jekyll-
paginate: 6 paginate: 6
paginate_path: "blog/older:num" paginate_path: "blog/older:num"
collections: collections:
- events - 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> </div>
<div class="three spacing"></div> <!-- <div class="three spacing"></div>
{{content}} {{content}}
{% if paginator %} {% if paginator %}
<div class="full light-grey blog"> <div class="full light-grey blog">
@ -29,7 +29,7 @@ section_id: event
{% endif %} {% endif %}
{% else %} {% else %}
<!-- <span class="newer">Newer Entries</span> --> <!-- <span class="newer">Newer Entries</span> -->
{% endif %} <!-- {% endif %}
</div> </div>
<div class="small-6 columns"> <div class="small-6 columns">
{% if paginator.next_page %} {% if paginator.next_page %}
@ -40,9 +40,9 @@ section_id: event
{% endif %} {% endif %}
{% else %} {% else %}
<!-- <span class="older">Older Entries</span> --> <!-- <span class="older">Older Entries</span> -->
{% endif %} <!-- {% endif %}
</div> </div>
</div> </div>
</nav> </nav>
</div> </div>
{% endif %} {% endif %} --> --> -->

Loading…
Cancel
Save