minor refactoring + link on landing added
This commit is contained in:
@@ -9,7 +9,7 @@ column-how = How to Use?
|
|||||||
column-how-long = First [create](/new) a new page using the [Markdown](http://daringfireball.net/projects/markdown/) syntax. Besides just sharing the link, you can view some rudimentary statistics by appending `/stats` to the note url: <pre>notehub.org/.../title/stats</pre> If you want to export a note in the original Markdown format, append `/export` to its url: <pre>notehub.org/.../title/export</pre> You also can invert the color scheme by appending `?theme=dark` to the note url: <pre>notehub.org/.../title?theme=dark</pre>
|
column-how-long = First [create](/new) a new page using the [Markdown](http://daringfireball.net/projects/markdown/) syntax. Besides just sharing the link, you can view some rudimentary statistics by appending `/stats` to the note url: <pre>notehub.org/.../title/stats</pre> If you want to export a note in the original Markdown format, append `/export` to its url: <pre>notehub.org/.../title/export</pre> You also can invert the color scheme by appending `?theme=dark` to the note url: <pre>notehub.org/.../title?theme=dark</pre>
|
||||||
|
|
||||||
column-geeks = For Geeks!
|
column-geeks = For Geeks!
|
||||||
column-geeks-long = NoteHub was an one-app-one-language experiment and is implemented entirely in [Clojure](http://clojure.org) and ClojureScript. The [source code](https://github.com/chmllr/NoteHub) can be found on GitHub. Look at the code to find some undocumented NoteHub features (or bugs) and — feel free to contribute! If you are interested in more detailed code overview, read [this](http://notehub.org) note. NoteHub's design is kept intentionally extremelly simple and minimalistic, and should stay so. NoteHub's persistence layer bases on the key-value store [redis](http://redis.io). Currently, NoteHub is hosted for free on [Heroku](http://heroku.com). Send your feedback and comments directly to [@chmllr](http://twitter.com/chmllr) or open an [issue](https://github.com/chmllr/NoteHub/issues) on GitHub.
|
column-geeks-long = NoteHub was an one-app-one-language experiment and is implemented entirely in [Clojure](http://clojure.org) and ClojureScript. The [source code](https://github.com/chmllr/NoteHub) can be found on GitHub. Look at the code to find some undocumented NoteHub features (or bugs) and — feel free to contribute! If you are interested in more detailed code overview, read [this](/2012/6/16/how-notehub-is-built) note. NoteHub's design is kept intentionally extremelly simple and minimalistic, and should stay so. NoteHub's persistence layer bases on the key-value store [redis](http://redis.io). Currently, NoteHub is hosted for free on [Heroku](http://heroku.com). Send your feedback and comments directly to [@chmllr](http://twitter.com/chmllr) or open an [issue](https://github.com/chmllr/NoteHub/issues) on GitHub.
|
||||||
|
|
||||||
status-404 = Nothing found.
|
status-404 = Nothing found.
|
||||||
status-400 = Bad Request.
|
status-400 = Bad Request.
|
||||||
|
|||||||
@@ -77,11 +77,12 @@
|
|||||||
[:table.central-element.helvetica-neue
|
[:table.central-element.helvetica-neue
|
||||||
[:tr
|
[:tr
|
||||||
; dynamically generates three column, retrieving corresponding messages
|
; dynamically generates three column, retrieving corresponding messages
|
||||||
(for [e [:column-why :column-how :column-geeks]]
|
(map
|
||||||
(html
|
#(html
|
||||||
[:td.one-third-column
|
[:td.one-third-column
|
||||||
[:h2 (get-message e)]
|
[:h2 (get-message %)]
|
||||||
(md-to-html (get-message (keyword (str (name e) "-long"))))]))]]
|
(md-to-html (get-message (keyword (str (name %) "-long"))))])
|
||||||
|
[:column-why :column-how :column-geeks])]]
|
||||||
[:div.centered.helvetica-neue (md-to-html (get-message :created-by))]))
|
[:div.centered.helvetica-neue (md-to-html (get-message :created-by))]))
|
||||||
|
|
||||||
; New Note Page
|
; New Note Page
|
||||||
|
|||||||
Reference in New Issue
Block a user