Rename bio to about
This commit is contained in:
parent
d10deb6517
commit
321d4bfdae
4 changed files with 10 additions and 10 deletions
src
|
@ -7,7 +7,7 @@
|
|||
(in-package #:website/components/header)
|
||||
|
||||
(defparameter *nav-menu*
|
||||
'(("/bio" "bio")
|
||||
'(("/about" "about")
|
||||
("/work" "work")
|
||||
("/blog" "blog")))
|
||||
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
|
||||
(defparameter *metadata-template*
|
||||
(let ((%title (lambda (title) (format nil "~@[~a - ~]~a" title "skyizwhite.dev")))
|
||||
(%description "The personal website of Akira Tempaku (paku) - bio, work, blog and more."))
|
||||
(%description "The personal website of Akira Tempaku (paku)"))
|
||||
(list :title %title
|
||||
:description %description
|
||||
:canonical #'path->url
|
||||
|
|
|
@ -8,13 +8,13 @@
|
|||
#:microcms-api-key)
|
||||
(:export #:get-blog-list
|
||||
#:get-blog-detail
|
||||
#:get-bio
|
||||
#:get-about
|
||||
#:get-work))
|
||||
(in-package :website/lib/cms)
|
||||
|
||||
(setf microcms:*service-domain* (microcms-service-domain))
|
||||
(setf microcms:*api-key* (microcms-api-key))
|
||||
|
||||
(define-object-client bio)
|
||||
(define-object-client about)
|
||||
(define-object-client work)
|
||||
(define-list-client blog)
|
||||
|
|
|
@ -1,21 +1,21 @@
|
|||
(defpackage #:website/routes/bio
|
||||
(defpackage #:website/routes/about
|
||||
(:use #:cl
|
||||
#:hsx)
|
||||
(:import-from #:website/lib/cms
|
||||
#:get-bio)
|
||||
#:get-about)
|
||||
(:import-from #:website/lib/time
|
||||
#:datetime
|
||||
#:jp-datetime)
|
||||
(:export #:handle-get))
|
||||
(in-package :website/routes/bio)
|
||||
(in-package :website/routes/about)
|
||||
|
||||
(defparameter *metadata*
|
||||
(list :title "bio"
|
||||
:path "/bio"))
|
||||
(list :title "about"
|
||||
:path "/about"))
|
||||
|
||||
(defcomp ~page ()
|
||||
(hsx
|
||||
(p "coming soon")))
|
||||
(p "coming soon")))
|
||||
|
||||
(defun handle-get (params)
|
||||
(declare (ignore params))
|
Loading…
Add table
Add a link
Reference in a new issue