Added a few meta tags for the front page (#98)

* Update pages.clj
This commit is contained in:
short tired lesbian 2019-01-24 04:25:52 -03:00 committed by Morgan Astra
parent 569b64acba
commit fc3e82380e

View File

@ -159,11 +159,16 @@
(defn front [] (defn front []
(let [abbreviations (take 6 (u/abbreviate @pronouns-table)) (let [abbreviations (take 6 (u/abbreviate @pronouns-table))
links (map make-link abbreviations) links (map make-link abbreviations)
title "Pronoun Island"] title "Pronoun Island"
description "Pronoun.is is a website for personal pronoun usage examples."]
(html (html
[:html [:html
[:head [:head
[:title title] [: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 {:name "viewport" :content "width=device-width"}]
[:meta {:charset "utf-8"}] [:meta {:charset "utf-8"}]
[:link {:rel "stylesheet" :href "/pronouns.css"}]] [:link {:rel "stylesheet" :href "/pronouns.css"}]]