Update contents
This commit is contained in:
parent
7f569560b2
commit
32885b798c
11 changed files with 164 additions and 81 deletions
src/routes
17
src/routes/blog.lisp
Normal file
17
src/routes/blog.lisp
Normal file
|
@ -0,0 +1,17 @@
|
|||
(defpackage #:hp/routes/blog
|
||||
(:use #:cl
|
||||
#:hsx)
|
||||
(:export #:handle-get))
|
||||
(in-package :hp/routes/blog)
|
||||
|
||||
(defparameter *metadata*
|
||||
(list :title "blog"))
|
||||
|
||||
(defcomp ~page ()
|
||||
(hsx
|
||||
(section
|
||||
(p "Coming soon..."))))
|
||||
|
||||
(defun handle-get (params)
|
||||
(declare (ignore params))
|
||||
(list (~page) *metadata*))
|
Loading…
Add table
Add a link
Reference in a new issue