|
@@ -53,7 +53,7 @@ All current Content Types and Indexes implement the protocol faithfully.
|
53
|
53
|
It consists of 2 "class" methods, 2 instance methods, and an invariant.
|
54
|
54
|
|
55
|
55
|
|
56
|
|
-* Class Methods:
|
|
56
|
+**Class Methods**:
|
57
|
57
|
|
58
|
58
|
Since Common Lisp doesn't have explicit support for class methods, we
|
59
|
59
|
implement them by eql-specializing on the class, e.g.
|
|
@@ -68,7 +68,7 @@ implement them by eql-specializing on the class, e.g.
|
68
|
68
|
- `publish`: Iterate over all objects of the class
|
69
|
69
|
|
70
|
70
|
|
71
|
|
-* Instance Methods:
|
|
71
|
+**Instance Methods**:
|
72
|
72
|
|
73
|
73
|
- `page-url`: Generate a unique, relative path for the object on the site
|
74
|
74
|
sans file extension. An :around method adds that later. The `slug` slot
|
|
@@ -78,7 +78,7 @@ implement them by eql-specializing on the class, e.g.
|
78
|
78
|
passing it any needed arguments and returning rendered HTML.
|
79
|
79
|
|
80
|
80
|
|
81
|
|
-* Invariants:
|
|
81
|
+**Invariants**:
|
82
|
82
|
|
83
|
83
|
- Any Content Types (subclasses of CONTENT) are expected to be stored in
|
84
|
84
|
the site's git repo with the lowercased class-name as a file extension,
|