~franz/f-a.nz

ref: 10d9c85830bc3e3c214c2fd15bd4504a494f0834 f-a.nz/gist.html -rw-r--r-- 949 bytes
10d9c858Franz Geffke renamed client, updated time offset, updated frontpage link 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
title: Gist
layout: page_clean
bg: pattern_018
permalink: /gist/
pagination:
  enabled: true
  collection: gist
  sort_reverse: true
  sort_field: 'date'
---

<ul class="projects clean">
{% for gist in paginator.posts %}
  <li class="project"><a href="{{ gist.url }}">
    <span class="hidden-xs"><intro>Read gist</intro><br></span>
    {{ gist.title | truncate: 50 }}<country>{{ gist.categories | join: " / " }}</country></a></li>
{% endfor %}
</ul>

{% if paginator.total_pages > 1 %}
<nav aria-label="Page navigation">
  <ul class="pagination">
    {% if paginator.next_page %}
    <li>
      <a class="btn" href="{{ paginator.next_page_path | prepend: site.baseurl }}" aria-label="Next">Older</a>
    </li>
    {% endif %}
    {% if paginator.previous_page %}
    <li>
      <a class="btn" href="{{ paginator.previous_page_path | prepend: site.baseurl }}" aria-label="Previous">Newer</a>
    </li>
    {% endif %}
  </ul>
</nav>
{% endif %}