Merge pull request #97 from nsuchy/master

Specify an UTF-8 Charset and use an html special character to avoid a malformed tag error in the footer
This commit is contained in:
Morgan Astra 2019-01-23 23:22:42 -08:00 committed by GitHub
commit 569b64acba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -111,7 +111,7 @@
(href "https://www.gnu.org/licenses/agpl.html" "AGPLv3")
"! visit the project on "
(href "https://github.com/witch-house/pronoun.is" "github")]
[:p "<3"]]))
[:p "&lt;3"]]))
(defn footer-block []
[:footer (usage-block) (contact-block)])
@ -126,6 +126,7 @@
[:head
[:title title]
[:meta {:name "viewport" :content "width=device-width"}]
[:meta {:charset "utf-8"}]
[:meta {:name "description" :content (u/strip-markup examples)}]
[:meta {:name "twitter:card" :content "summary"}]
[:meta {:name "twitter:title" :content title}]
@ -164,6 +165,7 @@
[:head
[:title title]
[:meta {:name "viewport" :content "width=device-width"}]
[:meta {:charset "utf-8"}]
[:link {:rel "stylesheet" :href "/pronouns.css"}]]
[:body
(header-block title)
@ -183,6 +185,7 @@
[:head
[:title title]
[:meta {:name "viewport" :content "width=device-width"}]
[:meta {:charset "utf-8"}]
[:link {:rel "stylesheet" :href "/pronouns.css"}]]
[:body
(header-block title)
@ -199,6 +202,7 @@
[:head
[:title title]
[:meta {:name "viewport" :content "width=device-width"}]
[:meta {:charset "utf-8"}]
[:link {:rel "stylesheet" :href "/pronouns.css"}]]
[:body
(header-block title)