From 7d0d3a445b4a55406edef4720251c9be747d301b Mon Sep 17 00:00:00 2001 From: Lynn Date: Sat, 3 Jun 2017 13:35:17 +0200 Subject: [PATCH] Allow pronoun.is/she/or/xe syntax --- src/pronouns/pages.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pronouns/pages.clj b/src/pronouns/pages.clj index e33893f..d1a5574 100644 --- a/src/pronouns/pages.clj +++ b/src/pronouns/pages.clj @@ -191,7 +191,7 @@ (defn pronouns [params] (let [path (params :*) alts (or (params "or") []) - pronouns (concat [path] (u/vec-coerce alts)) + pronouns (concat (s/split path #"/or/") (u/vec-coerce alts)) pronoun-declensions (filter some? (map #(lookup-pronouns (escape-html %)) pronouns))]