about summary refs log tree commit diff
path: root/src/pronouns/pages.clj
diff options
context:
space:
mode:
authorMorgan Astra <m@morganastra.me>2017-03-08 22:48:40 -0800
committerMorgan Astra <m@morganastra.me>2017-03-08 22:48:40 -0800
commit368c73b55e1964834e562d7b5466506fb6ffc4bd (patch)
tree75c2e5c493397dc07b8ec897c66c1c3d42abf1b7 /src/pronouns/pages.clj
parentb16cf5d7c9f9f7ebfc7655da10355094eb58c660 (diff)
put an icon on the page so preview cards can grab it for #56
Diffstat (limited to 'src/pronouns/pages.clj')
-rw-r--r--src/pronouns/pages.clj3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj
index 4940207..f9939c3 100644
--- a/src/pronouns/pages.clj
+++ b/src/pronouns/pages.clj
@@ -19,6 +19,7 @@
             [pronouns.config :refer [*pronouns-table*]]
             [pronouns.util :as u]
             [hiccup.core :refer :all]
+            [hiccup.element :as e]
             [hiccup.util :refer [escape-html]]))
 
 (defn prose-comma-list
@@ -70,7 +71,7 @@
 
 (defn header-block [header]
   [:div {:class "section title"}
-   (href "/" [:h1 header])])
+   (href "/" [:h1 (e/image "/purple-flag64.png" "flag logo") header])])
 
 (defn examples-block
   [subject object possessive-determiner possessive-pronoun reflexive]