some formatting cleanup in pages.clj
This commit is contained in:
parent
8839c2f9c7
commit
9ee90b036f
@ -8,8 +8,7 @@
|
|||||||
[:b pronoun])
|
[:b pronoun])
|
||||||
|
|
||||||
(defn render-sentence [& content]
|
(defn render-sentence [& content]
|
||||||
[:p [:span.sentence content]]
|
[:p [:span.sentence content]])
|
||||||
)
|
|
||||||
|
|
||||||
(defn subject-example
|
(defn subject-example
|
||||||
[subject]
|
[subject]
|
||||||
@ -21,7 +20,10 @@
|
|||||||
|
|
||||||
(defn posessive-determiner-example
|
(defn posessive-determiner-example
|
||||||
[subject possessive-determiner]
|
[subject possessive-determiner]
|
||||||
(render-sentence (wrap-pronoun (s/capitalize subject)) " brought " (wrap-pronoun possessive-determiner) " frisbee."))
|
(render-sentence (wrap-pronoun (s/capitalize subject))
|
||||||
|
" brought "
|
||||||
|
(wrap-pronoun possessive-determiner)
|
||||||
|
" frisbee."))
|
||||||
|
|
||||||
(defn possessive-pronoun-example
|
(defn possessive-pronoun-example
|
||||||
[possessive-pronoun]
|
[possessive-pronoun]
|
||||||
@ -29,7 +31,10 @@
|
|||||||
|
|
||||||
(defn reflexive-example
|
(defn reflexive-example
|
||||||
[subject reflexive]
|
[subject reflexive]
|
||||||
(render-sentence (wrap-pronoun (s/capitalize subject)) " threw the frisbee to " (wrap-pronoun reflexive) "."))
|
(render-sentence (wrap-pronoun (s/capitalize subject))
|
||||||
|
" threw the frisbee to "
|
||||||
|
(wrap-pronoun reflexive)
|
||||||
|
"."))
|
||||||
|
|
||||||
(defn title-block [title]
|
(defn title-block [title]
|
||||||
[:div {:class "title"}
|
[:div {:class "title"}
|
||||||
|
Loading…
Reference in New Issue
Block a user