about summary refs log tree commit diff
diff options
context:
space:
mode:
authorshort tired lesbian <46502167+nononoagh@users.noreply.github.com>2019-01-24 04:25:52 -0300
committerMorgan Astra <givengravity@gmail.com>2019-01-23 23:25:52 -0800
commitfc3e82380ec00f7c8b06f3a8db65ffb313633026 (patch)
tree70396ef01d682f09111e8d1a719f7d217b0c1695
parent569b64acbab4c73130e64d93c9541a2572b92bea (diff)
Added a few meta tags for the front page (#98)
* Update pages.clj
-rw-r--r--src/pronouns/pages.clj7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj
index 3e4e76f..5b09466 100644
--- a/src/pronouns/pages.clj
+++ b/src/pronouns/pages.clj
@@ -159,11 +159,16 @@
 (defn front []
   (let [abbreviations (take 6 (u/abbreviate @pronouns-table))
         links (map make-link abbreviations)
-        title "Pronoun Island"]
+        title "Pronoun Island"
+        description "Pronoun.is is a website for personal pronoun usage examples."]
     (html
      [:html
       [:head
        [:title title]
+       [:meta {:name "description" :content description}]
+       [:meta {:name "twitter:card" :content "summary"}]
+       [:meta {:name "twitter:title" :content title}]
+       [:meta {:name "twitter:description" :content description}]
        [:meta {:name "viewport" :content "width=device-width"}]
        [:meta {:charset "utf-8"}]
        [:link {:rel "stylesheet" :href "/pronouns.css"}]]