use-package piccolo
This commit is contained in:
parent
d614f039d3
commit
430c1ee5a8
4 changed files with 53 additions and 53 deletions
src/routes
|
@ -1,7 +1,6 @@
|
|||
(defpackage #:hp/routes/not-found
|
||||
(:use #:cl)
|
||||
(:local-nicknames (#:jg #:jingle))
|
||||
(:local-nicknames (#:pi #:piccolo))
|
||||
(:use #:cl
|
||||
#:piccolo)
|
||||
(:local-nicknames (#:view #:hp/view/*))
|
||||
(:export #:handle-not-found))
|
||||
(in-package #:hp/routes/not-found)
|
||||
|
@ -10,10 +9,9 @@
|
|||
'(:title "404 Not Found"
|
||||
:description "お探しのページは見つかりませんでした。"))
|
||||
|
||||
(pi:define-element page ()
|
||||
(pi:h
|
||||
(section
|
||||
(h1 "404 Not Found"))))
|
||||
(define-element page ()
|
||||
(section
|
||||
(h1 "404 Not Found")))
|
||||
|
||||
(defun handle-not-found ()
|
||||
(view:render (page)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue