Improve
This commit is contained in:
parent
566c28367e
commit
f721c3426d
4 changed files with 6 additions and 15 deletions
src/routes
|
@ -5,8 +5,6 @@
|
|||
(:export #:on-get))
|
||||
(in-package #:hp/routes/index)
|
||||
|
||||
;;; View
|
||||
|
||||
(pi:define-element page ()
|
||||
(pi:h
|
||||
(section
|
||||
|
@ -14,8 +12,6 @@
|
|||
(a :href "/about" :hx-boost "true"
|
||||
"About"))))
|
||||
|
||||
;;; Controller
|
||||
|
||||
(defun on-get (params)
|
||||
(declare (ignore params))
|
||||
(view:render (page)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue