|
|
|
|
51
|
:key #'(lambda (str) (cl-fad:pathname-as-directory str))
|
51
|
:key #'(lambda (str) (cl-fad:pathname-as-directory str))
|
52
|
:test #'equal)))
|
52
|
:test #'equal)))
|
53
|
(if section
|
53
|
(if section
|
54
|
- (progn
|
|
|
55
|
- (setf *config* (apply #'make-instance 'blog (cdr section)))
|
|
|
56
|
- (setf (slot-value *config* 'repo) config-key))
|
|
|
57
|
- (error 'unknown-config-section-error
|
|
|
|
|
54
|
+ (setf *config* (apply #'make-instance 'blog (cdr section))
|
|
|
55
|
+ (repo *config*) config-key)
|
|
|
56
|
+ (error 'unknown-config-section-error
|
58
|
:text (format nil "In ~A: No such key: '~A'." in config-key)))))
|
57
|
:text (format nil "In ~A: No such key: '~A'." in config-key)))))
|
59
|
(load-plugins (plugins *config*)))))
|
58
|
(load-plugins (plugins *config*)))))
|