... | ... |
@@ -285,10 +285,13 @@ |
285 | 285 |
(for [[index item] (enumerated @history)] |
286 | 286 |
^{:key index} [:li [input (item :input)] [output (item :output)]])])) |
287 | 287 |
|
288 |
+(defn- link-to [href & content] |
|
289 |
+ [:a {:href href} content]) |
|
290 |
+ |
|
288 | 291 |
(def agpl-link |
289 |
- [:a |
|
290 |
- {:href "https://www.gnu.org/licenses/agpl-3.0.html"} |
|
291 |
- "GNU Affero Public License"]) |
|
292 |
+ (link-to |
|
293 |
+ "https://www.gnu.org/licenses/agpl-3.0.html" |
|
294 |
+ "GNU Affero Public License")) |
|
292 | 295 |
|
293 | 296 |
(defn footer [] |
294 | 297 |
[:footer {:class (styles/footer)} |