add most importtant pages
This commit is contained in:
15
templates/page.lisp
Normal file
15
templates/page.lisp
Normal file
@ -0,0 +1,15 @@
|
||||
(load "./templates/header.lisp")
|
||||
(load "./templates/footer.lisp")
|
||||
|
||||
(defun page (title html)
|
||||
`(html (:lang "en")
|
||||
(head ()
|
||||
(meta (:http-equiv "content-type" :content "text/html; charset=utf-8"))
|
||||
(meta (:name "viewport" :content "width=device-width, initial-scale=1"))
|
||||
(link (:rel "stylesheet" :href "/style.css"))
|
||||
(title () ,title))
|
||||
(body ()
|
||||
,(header)
|
||||
(main ()
|
||||
,html)
|
||||
,(footer))))
|
Reference in New Issue
Block a user