Minor cleanup to RENDER-FEED.
This commit is contained in:
parent
411079b15c
commit
215c9f3d9c
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@
|
|||
(defun render-feeds ()
|
||||
"Render and write the feed for the site."
|
||||
(let* ((bydate (by-date (hash-table-values *posts*)))
|
||||
(posts (subseq bydate 0 (when (>= (length bydate) 10) 10)))
|
||||
(posts (subseq bydate 0 (min (length bydate) 10)))
|
||||
(content (loop for post in posts
|
||||
collect (list :title (post-title post)
|
||||
:url (post-url post)
|
||||
|
|
Loading…
Add table
Reference in a new issue