Skip to content

Commit 951588b

Browse files
committed
adopt nil page index fix
1 parent 655570c commit 951588b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

deps.edn

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
ring/ring-devel {:mvn/version "1.9.4"}
44
compojure/compojure {:mvn/version "1.6.2"}
55
cryogen-flexmark/cryogen-flexmark {:mvn/version "0.1.5"}
6-
cryogen-core/cryogen-core {:mvn/version "0.4.1"}}
6+
cryogen-core/cryogen-core {:mvn/version "0.4.3"}}
77
:aliases {;; Run with `clojure -M:build`
88
:build {:main-opts ["-m" "cryogen.core"]}
99
;; Start a server serving the blog: `clojure -X:serve`

themes/blue/html/page.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ <h2>{{page.title}}</h2>
1919
{{page.content|safe}}
2020

2121
<div id="prev-next">
22-
{% if all page.prev page.prev.page-index %}
22+
{% if page.prev %}
2323
<a href="{{page.prev.uri}}">&laquo; {{page.prev.title}}</a>
2424
{% endif %}
25-
{% if all page.prev page.prev.page-index page.next %}
25+
{% if all page.prev page.next %}
2626
||
2727
{% endif %}
2828
{% if page.next %}

0 commit comments

Comments
 (0)