Fix FEEDS definition thinko and tweak some more docs.

This commit is contained in:
Brit Butler 2014-04-14 22:12:52 -04:00
parent dcf2db3ff4
commit 7b4a795142
2 changed files with 6 additions and 5 deletions

View file

@ -59,11 +59,12 @@ User configs are allowed to specify a theme, otherwise the default is
used. A theme consists of a directory under "themes/" containing css, used. A theme consists of a directory under "themes/" containing css,
images, and at least 3 templates: Base, Index, and Post. images, and at least 3 templates: Base, Index, and Post.
**Coleslaw** exclusively uses **Coleslaw** uses
[cl-closure-template](https://github.com/archimag/cl-closure-template) [cl-closure-template](https://github.com/archimag/cl-closure-template)
for templating which is a well documented CL implementation of exclusively for templating. **cl-closure-template** is a well
Google's Closure Templates. Each template file should be in a documented CL implementation of Google's Closure Templates. Each
namespace like `coleslaw.theme.theme-name`. template file should contain a namespace like
`coleslaw.theme.theme-name`.
Each template creates a lisp function in the theme's package when Each template creates a lisp function in the theme's package when
loaded. These functions take a property list (or plist) as an argument loaded. These functions take a property list (or plist) as an argument

View file

@ -10,7 +10,7 @@
(defclass numeric-index (index) ()) (defclass numeric-index (index) ())
(defclass feed (index) (defclass feed (index)
(format :initform nil :initarg :format :accessor feed-format)) ((format :initform nil :initarg :format :accessor feed-format)))
(defclass tag-feed (feed) ()) (defclass tag-feed (feed) ())
(defmethod page-url ((object tag-index)) (defmethod page-url ((object tag-index))