summaryrefslogtreecommitdiffstats
path: root/src/view/main.phel
diff options
context:
space:
mode:
Diffstat (limited to 'src/view/main.phel')
-rw-r--r--src/view/main.phel4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/main.phel b/src/view/main.phel
index e25a079..9301bbc 100644
--- a/src/view/main.phel
+++ b/src/view/main.phel
@@ -31,7 +31,9 @@
[:main
[:ul
(for [b :in books]
- [:li (:title (:book b))
+ [:li
+ [:a {:href (r/generate router :book {:id (:id (:book b))})}
+ (:title (:book b))]
" by "
(authors-list (:authors b) router)
" "