Alphabetize config slots, docs TODO about content types.

This commit is contained in:
Brit Butler 2014-04-10 16:46:07 -04:00
parent 39687805f5
commit 9a86d48314
3 changed files with 7 additions and 6 deletions

View file

@ -39,6 +39,7 @@ generator. Content Types were added in 0.8 as a step towards making
limitations. Chiefly, the association between Content Types, their limitations. Chiefly, the association between Content Types, their
template, and their inclusion in an INDEX is presently ad-hoc. template, and their inclusion in an INDEX is presently ad-hoc.
// TODO: Write something about class-names as file-extension/eql-specializers!
### Current Content Types & Indexes ### Current Content Types & Indexes
There are 5 INDEX subclasses at present: TAG-INDEX, DATE-INDEX, There are 5 INDEX subclasses at present: TAG-INDEX, DATE-INDEX,

View file

@ -19,7 +19,7 @@
(let ((result (call-next-method))) (let ((result (call-next-method)))
(if (pathname-type result) (if (pathname-type result)
result result
(make-pathname :type (page-ext *config*) :defaults result)))) (make-pathname :type "html" :defaults result))))
(defun page-path (object) (defun page-path (object)
"The path to store OBJECT at once rendered." "The path to store OBJECT at once rendered."

View file

@ -6,15 +6,15 @@
(domain :initarg :domain :accessor domain) (domain :initarg :domain :accessor domain)
(feeds :initarg :feeds :accessor feeds) (feeds :initarg :feeds :accessor feeds)
(license :initarg :license :accessor license) (license :initarg :license :accessor license)
(page-ext :initarg :page-ext :accessor page-ext :initform "html")
(plugins :initarg :plugins :accessor plugins) (plugins :initarg :plugins :accessor plugins)
(repo :initarg :repo :accessor repo) (repo :initarg :repo :accessor repo)
(routing :initarg :routing :accessor routing)
(separator :initarg :separator :accessor separator :initform ";;;;;")
(sitenav :initarg :sitenav :accessor sitenav) (sitenav :initarg :sitenav :accessor sitenav)
(staging-dir :initarg :staging-dir :accessor staging-dir :initform "/tmp/coleslaw/") (staging-dir :initarg :staging-dir :accessor staging-dir :initform "/tmp/coleslaw/")
(posts-dir :initarg :posts-dir :accessor posts-dir :initform "posts") (theme :initarg :theme :accessor theme)
(separator :initarg :separator :accessor separator :initform ";;;;;") (title :initarg :title :accessor title)))
(page-ext :initarg :page-ext :accessor page-ext :initform "html")
(title :initarg :title :accessor title)
(theme :initarg :theme :accessor theme)))
(define-condition unknown-config-section-error (error) (define-condition unknown-config-section-error (error)
((text :initarg :text :reader text))) ((text :initarg :text :reader text)))