Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

minor fix so cliki2 can start from empty content #1

Merged
merged 1 commit into from

2 participants

Jianshi Huang Vladimir Sedach
Jianshi Huang

Though /index still needs to be created manually. I would recommend add a default /index content.

Vladimir Sedach vsedach merged commit 417549d into from
Vladimir Sedach
Owner

Hmm, adding a default page may be a good idea. Right now cliki2 is very hard to set up if you're starting from scratch.

Jianshi Huang

Er... I just setup one. The only thing I did apart from the patch is created /site/index page.

Is there anything else I need to do?

Vladimir Sedach
Owner
Vladimir Sedach
Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Oct 21, 2012
  1. Jianshi Huang
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +1 −1  src/indexes.lisp
  2. +1 −1  src/wiki.lisp
2  src/indexes.lisp
View
@@ -35,7 +35,7 @@
(defun search-articles (phrase)
(let ((words (words phrase)))
(when words
- (sort (copy-list (reduce (lambda (a b)
+ (sort (copy-list (reduce (lambda (&optional a b)
(intersection a b :test #'string=))
(mapcar #'articles-by-search-word words)))
#'< :key (lambda (title)
2  src/wiki.lisp
View
@@ -260,7 +260,7 @@
(defun init-recent-changes ()
(let ((recent-changes
- (reduce (lambda (r1s r2s)
+ (reduce (lambda (&optional r1s r2s)
(let ((merged
(merge 'list (copy-list r1s) (copy-list r2s)
#'> :key #'revision-date)))
Something went wrong with that request. Please try again.