Browse code

Merge pull request #10 from getzola/zola

Update for zola

Vincent Prouillet authored on 17/11/2018 09:10:46 • GitHub committed on 17/11/2018 09:10:46
Showing 2 changed files

... ...
@@ -1,6 +1,6 @@
1 1
 # after-dark
2 2
 
3
-![after-dark screenshot](https://github.com/Keats/after-dark/blob/master/screenshot.png?raw=true)
3
+![after-dark screenshot](https://github.com/getzola/after-dark/blob/master/screenshot.png?raw=true)
4 4
 
5 5
 ## Contents
6 6
 
... ...
@@ -14,7 +14,7 @@ First download this theme to your `themes` directory:
14 14
 
15 15
 ```bash
16 16
 $ cd themes
17
-$ git clone https://github.com/Keats/after-dark.git
17
+$ git clone https://github.com/getzola/after-dark.git
18 18
 ```
19 19
 and then enable it in your `config.toml`:
20 20
 
... ...
@@ -56,7 +56,7 @@
56 56
                     {% if paginator.previous %}
57 57
                       <a href="{{ paginator.previous }}">&laquo; Previous</a> |
58 58
                     {% endif %}
59
-                    <span>Page {{ paginator.current_index }} of {{ paginator.pagers | length }}</span>
59
+                    <span>Page {{ paginator.current_index }} of {{ paginator.number_pagers }}</span>
60 60
                     {% if paginator.next %}
61 61
                       | <a href="{{ paginator.next }}">Next &raquo;</a>
62 62
                     {% endif %}