Fix website title

This commit is contained in:
Alexander Rosenberg 2024-09-16 15:10:31 -07:00
parent a78e132b72
commit 87b47f9c94
Signed by: Zander671
GPG Key ID: 5FD0394ADBD72730

View File

@ -343,10 +343,6 @@ reblocks bug.")
(defmethod render ((page page))
"Render PAGE."
(with-html
(:doctype)
(:html
(:head
(:title "Truth Table Generator"))
(:body
(with-slots (table error-box help-overlay) page
(render help-overlay)
@ -414,15 +410,14 @@ reblocks bug.")
(render error-box)
(render table)
(:div :id "info-text"
(:span
"This website is free software under the terms of the AGPL"
(:span "This website is free software under the terms of the AGPL"
"license version 3. You can find a copy of the license ")
(:a :href "https://www.gnu.org/licenses/agpl-3.0.html"
"here")
(:span ". You can find the source of this website ")
(:a :href "https://git.zander.im/Zander671/truth-table"
"here")
(:span ".")))))))
(:span "."))))))
(defmethod get-dependencies ((page page))
(append
@ -456,12 +451,14 @@ reblocks bug.")
(call-next-method)))
(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)
expire-at)
"Main entry point for webpage."
(declare (ignorable app url-path expire-at))
(setf (reblocks/page:get-title) "Truth Table Generator")
(make-instance 'page))
(defparameter *command-line-spec*