Indexing fix to RENDER-POSTS.

This commit is contained in:
Brit Butler 2012-08-21 23:12:40 -04:00
parent 492a36e781
commit 2044751cde

View file

@ -33,7 +33,7 @@
for i from 1 upto (length posts)
for prev = nil then post
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))
:next (and next (post-url next)))))