Skip to content

Commit 54a1500

Browse files
authored
Merge pull request #15 from ClojureFinland/add_remod
Add Remod
2 parents 9df6ebf + 61a6725 commit 54a1500

2 files changed

Lines changed: 19 additions & 18 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Webserver and watchers can be started from REPL. See [dev.clj](./dev/dev.clj).
1616

1717
REPL with development deps can be started simply by `clj -A:dev`
1818

19-
``` shell
19+
```shell
2020
✗ clj -A:dev
2121
Clojure 1.10.1
2222
user=> (require '[dev])
@@ -51,7 +51,7 @@ Deployment to Github Pages happens automatically via Github Actions once changes
5151
5252
## License
5353
54-
Copyright © 2020–2021 Clojure Finland
54+
Copyright © 2020–2023 Clojure Finland
5555
5656
Distributed under the Eclipse Public License either version 1.0 or (at
5757
your option) any later version.

src/ClojureFinland/html/page.clj

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
{:code "(-> page/about :description :data)"
1616
:data "Clojure Finland is a community that promotes the use of
1717
Clojure in Finland. We organise meetups in Helsinki and
18-
Tampere.<br /><br />If you are new to Clojure, check the
18+
Tampere.<br /><br />If you are new to Clojure, check the
1919
<a href=\"https://clojure.org/guides/getting_started\">guides at
2020
Clojure.org</a> and don’t hesitate to ask questions in e.g. #beginners
2121
or #clojure-finland channels in
22-
<a href=\"http://clojurians.net/\">Clojurians Slack</a> or
22+
<a href=\"http://clojurians.net/\">Clojurians Slack</a> or
2323
#clojure channel in <a href=\"https://koodiklinikka.fi\">Koodiklinikka Slack</a>!"}})
2424

2525
(def companies
@@ -44,6 +44,7 @@
4444
{:name "Netum" :web "https://www.netum.fi"}
4545
{:name "Nitor" :web "https://www.nitor.com"}
4646
{:name "Reaktor" :web "https://www.reaktor.com"}
47+
{:name "Remod" :web "https://remod.fi/"}
4748
{:name "Sharetribe" :web "https://www.sharetribe.com/"}
4849
{:name "Solita" :web "https://www.solita.fi"}
4950
{:name "Siili Solutions" :web "https://www.siili.com"}
@@ -102,8 +103,8 @@
102103
{:email "<a href='mailto:clojurehelsinki@gmail.com'>clojurehelsinki@gmail.com</a>"
103104
:github "https://github.com/ClojureFinland"
104105
:slack [{:url "https://koodiklinikka.fi/"
105-
:channel "#clojure"
106-
:language "Finnish"}
106+
:channel "#clojure"
107+
:language "Finnish"}
107108
{:url "https://join.slack.com/t/clojurians/shared_invite/zt-lsr4rn2f-jealnYXLHVZ61V2vdi15QQ"
108109
:channel "#clojure-finland"
109110
:language "English"}]
@@ -134,18 +135,18 @@
134135
(defn map-output [m]
135136
(let [n-items (count m)]
136137
(map-indexed
137-
(fn [i [k v]]
138-
[:tr
139-
(into [:td {:aria-hidden "true"}] (if (= 0 i) "{" "&nbsp;"))
140-
[:th {:scope "row"} (keyword-output k)]
141-
[:td (let [column (cond
142-
(map? v) (table-output v)
143-
(coll? v) (table-output v)
144-
(link? v) (link v)
145-
:else (text-output v))]
146-
(cond-> column
147-
(= i (dec n-items)) (into [[:span {:aria-hidden "true"} "}"]])))]])
148-
m)))
138+
(fn [i [k v]]
139+
[:tr
140+
(into [:td {:aria-hidden "true"}] (if (= 0 i) "{" "&nbsp;"))
141+
[:th {:scope "row"} (keyword-output k)]
142+
[:td (let [column (cond
143+
(map? v) (table-output v)
144+
(coll? v) (table-output v)
145+
(link? v) (link v)
146+
:else (text-output v))]
147+
(cond-> column
148+
(= i (dec n-items)) (into [[:span {:aria-hidden "true"} "}"]])))]])
149+
m)))
149150

150151
(defn table-output
151152
[data]

0 commit comments

Comments
 (0)