From c5dfef47c11687e60f8bf86983cb64ca1e7c0bee Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Wed, 14 Nov 2018 19:58:02 +0100 Subject: [PATCH] Update for zola --- README.md | 4 ++-- templates/index.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 14726d9..34e04d2 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # after-dark -![after-dark screenshot](https://github.com/Keats/after-dark/blob/master/screenshot.png?raw=true) +![after-dark screenshot](https://github.com/getzola/after-dark/blob/master/screenshot.png?raw=true) ## Contents @@ -14,7 +14,7 @@ First download this theme to your `themes` directory: ```bash $ cd themes -$ git clone https://github.com/Keats/after-dark.git +$ git clone https://github.com/getzola/after-dark.git ``` and then enable it in your `config.toml`: diff --git a/templates/index.html b/templates/index.html index 13be407..23410e6 100644 --- a/templates/index.html +++ b/templates/index.html @@ -56,7 +56,7 @@ {% if paginator.previous %} « Previous | {% endif %} - Page {{ paginator.current_index }} of {{ paginator.pagers | length }} + Page {{ paginator.current_index }} of {{ paginator.number_pagers }} {% if paginator.next %} | Next » {% endif %}