|
@@ -1,9 +1,9 @@
|
1
|
1
|
(in-package :coleslaw)
|
2
|
2
|
|
3
|
3
|
(defclass index ()
|
4
|
|
- ((slug :initform nil :initarg :slug :accessor index-slug)
|
5
|
|
- (title :initform nil :initarg :title :accessor index-title)
|
6
|
|
- (content :initform nil :initarg :content :accessor index-content)))
|
|
4
|
+ ((slug :initarg :slug :reader index-slug)
|
|
5
|
+ (title :initarg :title :reader index-title)
|
|
6
|
+ (content :initarg :content :reader index-content)))
|
7
|
7
|
|
8
|
8
|
(defmethod render ((object index) &key prev next)
|
9
|
9
|
(funcall (theme-fn 'index) (list :tags (all-tags)
|