diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index f9939c3..b9ac11b 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -116,6 +116,12 @@ (defn footer-block [] [:footer (usage-block) (contact-block)]) +;; +;; +;; +;; +;; + (defn format-pronoun-examples [pronoun-declensions] (let [sub-objs (map #(s/join "/" (take 2 %)) pronoun-declensions) @@ -127,6 +133,11 @@ [:title title] [:meta {:name "viewport" :content "width=device-width"}] [:meta {:name "description" :content (u/strip-markup examples)}] + [:meta {:name "twitter:card" :content (u/strip-markup examples)}] + [:meta {:name "twitter:site" :content "@morganastra"}] + [:meta {:name "twitter:title" :content title}] + [:meta {:name "twitter:description" :content (u/strip-markup examples)}] + [:meta {:name "twitter:image" :content "https://pronoun.is/purple-flag64.png"}] [:link {:rel "stylesheet" :href "/pronouns.css"}]] [:body (header-block title)