Rename work to works
This commit is contained in:
parent
5a05f440a8
commit
fd28b11c00
3 changed files with 8 additions and 8 deletions
src
|
@ -7,7 +7,7 @@
|
|||
|
||||
(defparameter *nav-menu*
|
||||
'(("/about" "about")
|
||||
("/work" "work")
|
||||
("/works" "works")
|
||||
("/blog" "blog")))
|
||||
|
||||
(defcomp ~pc-header ()
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#:microcms-service-domain
|
||||
#:microcms-api-key)
|
||||
(:export #:get-about
|
||||
#:get-work
|
||||
#:get-works
|
||||
#:get-blog-list
|
||||
#:get-blog-detail))
|
||||
(in-package #:website/lib/cms)
|
||||
|
@ -27,8 +27,8 @@
|
|||
(define-object-client about)
|
||||
(memorize get-about)
|
||||
|
||||
(define-object-client work)
|
||||
(memorize get-work)
|
||||
(define-object-client works)
|
||||
(memorize get-works)
|
||||
|
||||
(define-list-client blog)
|
||||
(memorize get-blog-list)
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
(defpackage #:website/routes/work
|
||||
(defpackage #:website/routes/works
|
||||
(:use #:cl
|
||||
#:hsx
|
||||
#:jingle)
|
||||
(:import-from #:website/lib/cms
|
||||
#:get-work)
|
||||
#:get-works)
|
||||
(:import-from #:website/lib/time
|
||||
#:datetime
|
||||
#:jp-datetime)
|
||||
(:export #:handle-get))
|
||||
(in-package #:website/routes/work)
|
||||
(in-package #:website/routes/works)
|
||||
|
||||
(defparameter *metadata*
|
||||
(list :title "work"))
|
||||
(list :title "works"))
|
||||
|
||||
(defun handle-get (params)
|
||||
(declare (ignore params))
|
Loading…
Add table
Add a link
Reference in a new issue