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)
|
(in-package #:website/components/header)
|
||||||
|
|
||||||
(defparameter *nav-menu*
|
(defparameter *nav-menu*
|
||||||
'(("/bio" "bio")
|
'(("/about" "about")
|
||||||
("/work" "work")
|
("/work" "work")
|
||||||
("/blog" "blog")))
|
("/blog" "blog")))
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
|
|
||||||
(defparameter *metadata-template*
|
(defparameter *metadata-template*
|
||||||
(let ((%title (lambda (title) (format nil "~@[~a - ~]~a" title "skyizwhite.dev")))
|
(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
|
(list :title %title
|
||||||
:description %description
|
:description %description
|
||||||
:canonical #'path->url
|
:canonical #'path->url
|
||||||
|
|
|
@ -8,13 +8,13 @@
|
||||||
#:microcms-api-key)
|
#:microcms-api-key)
|
||||||
(:export #:get-blog-list
|
(:export #:get-blog-list
|
||||||
#:get-blog-detail
|
#:get-blog-detail
|
||||||
#:get-bio
|
#:get-about
|
||||||
#:get-work))
|
#:get-work))
|
||||||
(in-package :website/lib/cms)
|
(in-package :website/lib/cms)
|
||||||
|
|
||||||
(setf microcms:*service-domain* (microcms-service-domain))
|
(setf microcms:*service-domain* (microcms-service-domain))
|
||||||
(setf microcms:*api-key* (microcms-api-key))
|
(setf microcms:*api-key* (microcms-api-key))
|
||||||
|
|
||||||
(define-object-client bio)
|
(define-object-client about)
|
||||||
(define-object-client work)
|
(define-object-client work)
|
||||||
(define-list-client blog)
|
(define-list-client blog)
|
||||||
|
|
|
@ -1,21 +1,21 @@
|
||||||
(defpackage #:website/routes/bio
|
(defpackage #:website/routes/about
|
||||||
(:use #:cl
|
(:use #:cl
|
||||||
#:hsx)
|
#:hsx)
|
||||||
(:import-from #:website/lib/cms
|
(:import-from #:website/lib/cms
|
||||||
#:get-bio)
|
#:get-about)
|
||||||
(:import-from #:website/lib/time
|
(:import-from #:website/lib/time
|
||||||
#:datetime
|
#:datetime
|
||||||
#:jp-datetime)
|
#:jp-datetime)
|
||||||
(:export #:handle-get))
|
(:export #:handle-get))
|
||||||
(in-package :website/routes/bio)
|
(in-package :website/routes/about)
|
||||||
|
|
||||||
(defparameter *metadata*
|
(defparameter *metadata*
|
||||||
(list :title "bio"
|
(list :title "about"
|
||||||
:path "/bio"))
|
:path "/about"))
|
||||||
|
|
||||||
(defcomp ~page ()
|
(defcomp ~page ()
|
||||||
(hsx
|
(hsx
|
||||||
(p "coming soon")))
|
(p "coming soon")))
|
||||||
|
|
||||||
(defun handle-get (params)
|
(defun handle-get (params)
|
||||||
(declare (ignore params))
|
(declare (ignore params))
|
Loading…
Add table
Add a link
Reference in a new issue