Indexing fix to RENDER-POSTS.
This commit is contained in:
parent
492a36e781
commit
2044751cde
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@
|
||||||
for i from 1 upto (length posts)
|
for i from 1 upto (length posts)
|
||||||
for prev = nil then post
|
for prev = nil then post
|
||||||
for post = (nth (1- i) posts)
|
for post = (nth (1- i) posts)
|
||||||
for next = (nth (1+ i) posts)
|
for next = (nth i posts)
|
||||||
do (write-post post :prev (and prev (post-url prev))
|
do (write-post post :prev (and prev (post-url prev))
|
||||||
:next (and next (post-url next)))))
|
:next (and next (post-url next)))))
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue