-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
35 lines (32 loc) · 1.26 KB
/
index.html
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
---
layout: default
title: PgBouncer - lightweight connection pooler for PostgreSQL
---
{% for post in paginator.posts %}
<div class="article">
<div class="card">
<div class="card-body">
<h1><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d, %Y" }} - {{ post.title }}</a></h1>
{% if site.comments == true and post.comments == true and site.disqus != '' %}
<p class="author"><a href="{{ site.baseurl }}{{ post.url }}/#disqus_thread">Comments</a></p>
{% endif %}
<div class="content">
{{ post.excerpt }}
</div>
</div>
</div>
</div>
{% endfor %}
<div class="pagination">
<div class="btn-group" role="group">
{% if paginator.previous_page == 1 %}
<a class="btn btn-light" href="{{ site.baseurl}}/" class="previous">Newer</a>
{% elsif paginator.previous_page %}
<a class="btn btn-light" href="{{ site.baseurl}}/page{{ paginator.previous_page }}" class="previous">Newer</a>
{% else %}
<span class="btn btn-light disabled">Newer</span>
{% endif %}
<span class="btn btn-light disabled">Page: {{ paginator.page }} of {{ paginator.total_pages }}</span>
<a class="btn btn-light" href="{{ site.baseurl}}/page{{ paginator.next_page }}" class="next">Older</a>
</div>
</div>