Add dates to news posts

This commit is contained in:
Juho Teperi 2017-11-28 19:16:26 +02:00
parent 3b7f8d7275
commit 19b77dccf0
11 changed files with 27 additions and 1 deletions

View File

@ -13,6 +13,12 @@
(defn main []
[:div
[:div.reagent-demo
[:h1 [:a {:href "https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md#070-2017-06-27"} "Reagent 0.7.0"]]
[:span "2017-06-27"]]
[:div.reagent-demo
[:h1 [:a {:href "https://github.com/reagent-project/reagent/blob/master/CHANGELOG.md#062-2017-05-19"} "Reagent 0.6.2"]]
[:span "2017-05-19"]]
[news061/main {:summary true}]
[news060r/main {:summary true}]
[news060rc/main {:summary true}]
@ -22,7 +28,13 @@
[clock/main {:summary true}]
[anyargs/main {:summary true}]
[async/main {:summary true}]
[undodemo/main {:summary true}]])
[undodemo/main {:summary true}]
[:div.reagent-demo
[:h1 "Reagent 0.1.0"]
[:span "2014-01-10"]]
[:div.reagent-demo
[:h1 "Reagent 0.0.2"]
[:span "2013-12-17"]]])
(def url "/news/index.html")
(tools/register-page url [#'main] "News")

View File

@ -37,6 +37,8 @@
jonase {:href "https://github.com/jonase"}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2014-02-15"]
[:div.demo-text
[:h2 "If it looks like a function…"]

View File

@ -93,6 +93,8 @@
(let [om-article {:href "http://swannodette.github.io/2013/12/17/the-future-of-javascript-mvcs/"}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2014-01-30"]
[:div.demo-text
[:h2 "Reagent gets async rendering"]

View File

@ -21,6 +21,7 @@
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2014-02-26"]
[:div.demo-text
(when-not summary

View File

@ -106,6 +106,7 @@
(defn main [{:keys [summary]}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2014-12-10"]
[:div.demo-text
[:p "Reagent 0.5.0 has automatic importing of React.js, two kinds
of cursors, better integration of native React components, better

View File

@ -35,6 +35,7 @@
(defn main [{:keys [summary]}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2015-09-09"]
[:div.demo-text
[:p "Reagent 0.5.1 contains a new convenient shortcut for nested
elements, better error messages, new logic for maintaining cursor

View File

@ -121,6 +121,7 @@
(defn main [{:keys [summary]}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2015-12-06"]
[:div.demo-text
[:p "Reagent 0.6.0-alpha contains new reactivity helpers, better
integration with native React components, a new version of

View File

@ -25,6 +25,7 @@
(defn main [{:keys [summary]}]
[:div.reagent-demo
[:h1 [link {:href url} title]]
[:span "2016-09-14"]
[:div.demo-text
[:p "Reagent 0.6.0-rc has been given a lot of testing, a new
version of React (15.1.0), bug fixing and some small general

View File

@ -37,6 +37,7 @@
[:div.reagent-demo
[:h1
[link {:href url} title]]
[:span "2016-06-09"]
[:div
[abstract]
(if summary

View File

@ -24,6 +24,7 @@
[:div.reagent-demo
[:h1
[link {:href url} title]]
[:span "2017-03-11"]
[:div
[abstract]]])

View File

@ -52,6 +52,9 @@
(let [head title]
[:div.reagent-demo
[:h1 [link {:href url} head]]
;; Undo demo originall added on 0a0dbdee7dfdaa545171d41fa1c3a18a1cae6e1b
[:span "2014-01-19"]
[:div.demo-text
[:h2 "(reset! cloact-name \"Reagent\")"]