Parcourir la Source

Fix FEEDS definition thinko and tweak some more docs.

Brit Butler il y a 11 ans
Parent
commit
7b4a795142
2 fichiers modifiés avec 6 ajouts et 5 suppressions
  1. 5 4
      docs/hacking.md
  2. 1 1
      src/indexes.lisp

+ 5 - 4
docs/hacking.md

@@ -59,11 +59,12 @@ User configs are allowed to specify a theme, otherwise the default is
59 59
 used. A theme consists of a directory under "themes/" containing css,
60 60
 images, and at least 3 templates: Base, Index, and Post.
61 61
 
62
-**Coleslaw** exclusively uses
62
+**Coleslaw** uses
63 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 69
 Each template creates a lisp function in the theme's package when
69 70
 loaded. These functions take a property list (or plist) as an argument

+ 1 - 1
src/indexes.lisp

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