about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMorgan Astra <m@morganastra.me>2017-03-09 18:10:38 -0800
committerMorgan Astra <m@morganastra.me>2017-03-09 18:10:38 -0800
commit3c933e42581c30e4fb4c43c12fa1816073f510e6 (patch)
tree72e26299393e60ce16886a2959c4aa8ab5c6fae3
parentacbea12b93ddfa47cf9f1c1ebf3b339ea15977c6 (diff)
remove unnecessary twitter card meta tags #56
-rw-r--r--src/pronouns/pages.clj5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj
index b9ac11b..e33893f 100644
--- a/src/pronouns/pages.clj
+++ b/src/pronouns/pages.clj
@@ -121,6 +121,7 @@
 ;; <meta name="twitter:title" content="Small Island Developing States Photo Submission" />
 ;; <meta name="twitter:description" content="View the album on Flickr." />
 ;; <meta name="twitter:image" content="https://farm6.staticflickr.com/5510/14338202952_93595258ff_z.jpg" />
+;; not all of these are required!
 
 (defn format-pronoun-examples
   [pronoun-declensions]
@@ -133,11 +134,9 @@
        [: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:card" :content "summary"}]
        [: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)