瀏覽代碼

Fix FEEDS definition thinko and tweak some more docs.

Brit Butler 11 年之前
父節點
當前提交
7b4a795142
共有 2 個文件被更改,包括 6 次插入5 次删除
  1. 5 4
      docs/hacking.md
  2. 1 1
      src/indexes.lisp

+ 5 - 4
docs/hacking.md

59
 used. A theme consists of a directory under "themes/" containing css,
59
 used. A theme consists of a directory under "themes/" containing css,
60
 images, and at least 3 templates: Base, Index, and Post.
60
 images, and at least 3 templates: Base, Index, and Post.
61
 
61
 
62
-**Coleslaw** exclusively uses
62
+**Coleslaw** uses
63
 [cl-closure-template](https://github.com/archimag/cl-closure-template)
63
 [cl-closure-template](https://github.com/archimag/cl-closure-template)
64
-for templating which is a well documented CL implementation of
65
-Google's Closure Templates. Each template file should be in a
66
-namespace like `coleslaw.theme.theme-name`.
64
+exclusively for templating. **cl-closure-template** is a well
65
+documented CL implementation of Google's Closure Templates. Each
66
+template file should contain a namespace like
67
+`coleslaw.theme.theme-name`.
67
 
68
 
68
 Each template creates a lisp function in the theme's package when
69
 Each template creates a lisp function in the theme's package when
69
 loaded. These functions take a property list (or plist) as an argument
70
 loaded. These functions take a property list (or plist) as an argument

+ 1 - 1
src/indexes.lisp

10
 (defclass numeric-index (index) ())
10
 (defclass numeric-index (index) ())
11
 
11
 
12
 (defclass feed (index)
12
 (defclass feed (index)
13
-  (format :initform nil :initarg :format :accessor feed-format))
13
+  ((format :initform nil :initarg :format :accessor feed-format)))
14
 (defclass tag-feed (feed) ())
14
 (defclass tag-feed (feed) ())
15
 
15
 
16
 (defmethod page-url ((object tag-index))
16
 (defmethod page-url ((object tag-index))