summaryrefslogtreecommitdiff
path: root/src/views
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2023-03-07 19:29:39 -0800
committercolin <colin@cicadas.surf>2023-03-07 19:29:39 -0800
commit58afc03ae572eb56cb5a3b7b685689433edc13c7 (patch)
tree62547adeeb3bd140637ddae65524e84f81e9dadc /src/views
parentefa771e3cc363dae68b57dfcc5c67c511a1d3331 (diff)
Add: path to adventure pages; stuff to asd file; some endpointscolins-hacking
Diffstat (limited to 'src/views')
-rw-r--r--src/views/adventure.lisp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/views/adventure.lisp b/src/views/adventure.lisp
index 8d4cebc..85d8e3d 100644
--- a/src/views/adventure.lisp
+++ b/src/views/adventure.lisp
@@ -2,7 +2,6 @@
(in-package :dnd)
-
(defrender :inline ((adventure adventure))
(with-html
(:a :href (urlpath adventure) (title adventure))))
@@ -10,3 +9,6 @@
(defrender :option ((adventure adventure))
(with-html
(:option :value (uid adventure) (title adventure))))
+
+(defrender :list-item ((adventure adventure))
+ (render :inline adventure))