|
|
|
|
48
|
;; Multi-site config: load config section for CONFIG-KEY.
|
48
|
;; Multi-site config: load config section for CONFIG-KEY.
|
49
|
(let* ((config-key-pathname (cl-fad:pathname-as-directory config-key))
|
49
|
(let* ((config-key-pathname (cl-fad:pathname-as-directory config-key))
|
50
|
(section (assoc config-key-pathname config-form
|
50
|
(section (assoc config-key-pathname config-form
|
51
|
- :key #'(lambda (str) (cl-fad:pathname-as-directory str))
|
|
|
|
|
51
|
+ :key #'cl-fad:pathname-as-directory
|
52
|
:test #'equal)))
|
52
|
:test #'equal)))
|
53
|
(if section
|
53
|
(if section
|
54
|
(setf *config* (apply #'make-instance 'blog (cdr section))
|
54
|
(setf *config* (apply #'make-instance 'blog (cdr section))
|