Switch site language to English
This commit is contained in:
parent
c6e3c78394
commit
7e8fe6978d
3 changed files with 11 additions and 11 deletions
src/components
|
@ -3,19 +3,19 @@
|
|||
#:hsx)
|
||||
(:import-from #:website/lib/time
|
||||
#:datetime
|
||||
#:jp-datetime)
|
||||
#:asctime)
|
||||
(:export #:~article))
|
||||
(in-package #:website/components/article)
|
||||
|
||||
(defcomp ~article (&key title content revised-at draft-p)
|
||||
(hsx
|
||||
(<>
|
||||
(and draft-p (hsx (p :class "text-lg text-pink-500" "下書きモード")))
|
||||
(and draft-p (hsx (p :class "text-lg text-pink-500" "Draft Mode")))
|
||||
(article :class "prose max-w-none"
|
||||
(h1 title)
|
||||
(raw! content)
|
||||
(p :class "text-right"
|
||||
"(最終更新:"
|
||||
"(Last updated: "
|
||||
(|time| :datetime (datetime revised-at)
|
||||
(jp-datetime revised-at))
|
||||
")")))))
|
||||
(asctime revised-at))
|
||||
")")))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue