Fix website title
This commit is contained in:
parent
a78e132b72
commit
87b47f9c94
13
web.lisp
13
web.lisp
@ -343,10 +343,6 @@ reblocks bug.")
|
|||||||
(defmethod render ((page page))
|
(defmethod render ((page page))
|
||||||
"Render PAGE."
|
"Render PAGE."
|
||||||
(with-html
|
(with-html
|
||||||
(:doctype)
|
|
||||||
(:html
|
|
||||||
(:head
|
|
||||||
(:title "Truth Table Generator"))
|
|
||||||
(:body
|
(:body
|
||||||
(with-slots (table error-box help-overlay) page
|
(with-slots (table error-box help-overlay) page
|
||||||
(render help-overlay)
|
(render help-overlay)
|
||||||
@ -414,15 +410,14 @@ reblocks bug.")
|
|||||||
(render error-box)
|
(render error-box)
|
||||||
(render table)
|
(render table)
|
||||||
(:div :id "info-text"
|
(:div :id "info-text"
|
||||||
(:span
|
(:span "This website is free software under the terms of the AGPL"
|
||||||
"This website is free software under the terms of the AGPL"
|
|
||||||
"license version 3. You can find a copy of the license ")
|
"license version 3. You can find a copy of the license ")
|
||||||
(:a :href "https://www.gnu.org/licenses/agpl-3.0.html"
|
(:a :href "https://www.gnu.org/licenses/agpl-3.0.html"
|
||||||
"here")
|
"here")
|
||||||
(:span ". You can find the source of this website ")
|
(:span ". You can find the source of this website ")
|
||||||
(:a :href "https://git.zander.im/Zander671/truth-table"
|
(:a :href "https://git.zander.im/Zander671/truth-table"
|
||||||
"here")
|
"here")
|
||||||
(:span ".")))))))
|
(:span "."))))))
|
||||||
|
|
||||||
(defmethod get-dependencies ((page page))
|
(defmethod get-dependencies ((page page))
|
||||||
(append
|
(append
|
||||||
@ -456,12 +451,14 @@ reblocks bug.")
|
|||||||
(call-next-method)))
|
(call-next-method)))
|
||||||
|
|
||||||
(defapp truth-table-app
|
(defapp truth-table-app
|
||||||
:prefix *default-prefix*)
|
:prefix *default-prefix*
|
||||||
|
:name "Truth Table Generator")
|
||||||
|
|
||||||
(defmethod reblocks/page:init-page ((app truth-table-app) (url-path string)
|
(defmethod reblocks/page:init-page ((app truth-table-app) (url-path string)
|
||||||
expire-at)
|
expire-at)
|
||||||
"Main entry point for webpage."
|
"Main entry point for webpage."
|
||||||
(declare (ignorable app url-path expire-at))
|
(declare (ignorable app url-path expire-at))
|
||||||
|
(setf (reblocks/page:get-title) "Truth Table Generator")
|
||||||
(make-instance 'page))
|
(make-instance 'page))
|
||||||
|
|
||||||
(defparameter *command-line-spec*
|
(defparameter *command-line-spec*
|
||||||
|
Loading…
Reference in New Issue
Block a user