front page minified
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
## News
|
||||
|
||||
- January 2014: NoteHub made more lightweight by dropping of CSS generation & ClojureScript usage
|
||||
- September 2013: Solarized color theme [added](https://github.com/chmllr/NoteHub/pull/4) (thanks Brandon!) ([Demo](http://notehub.org/2012/6/16/how-notehub-is-built?theme=solarized))
|
||||
|
||||
## About
|
||||
[NoteHub](http://notehub.org) is a free and hassle-free anonymous pastebin for markdown pages, intended for anonymous one-off publishing.
|
||||
|
||||
Send your feedback and comments directly to [@gravitydenier](http://twitter.com/gravitydenier) or open an [issue](https://github.com/gravitydenier/NoteHub/issues) on GitHub.
|
||||
|
||||
## Features
|
||||
- **Color Themes**: specify the color scheme by appending the corresponding parameter to the URL:
|
||||
- [Dark](http://notehub.org/2012/6/16/how-notehub-is-built?theme=dark)
|
||||
- [Solarized](http://notehub.org/2012/6/16/how-notehub-is-built?theme=solarized)
|
||||
- **Fonts**: select a [Google Web Font](http://www.google.com/webfonts/) for headers and for the text by appending parameters to the note [URL](http://notehub.org/2012/6/16/how-notehub-is-built?header-font=Chau+Philomene+One&text-font=Alegreya+Sans+SC).
|
||||
- **Short URLs**: every page (including theme & font options) has its own short url.
|
||||
- **Editing**: if you set a password during publishing, you can edit your note any time later.
|
||||
- **Statistics**: a rudimentary statistics available (date of publishing & view counter).
|
||||
- **Export**: the original markdown content can be displayed in plain text format.
|
||||
@@ -1,4 +1,5 @@
|
||||
title = Free and Hassle-free Hosting for Markdown Pages.
|
||||
page-title = Publish Markdown for Free
|
||||
title = Free and Hassle-free Pastebin for Markdown Pages.
|
||||
name = NoteHub
|
||||
new-page = New Page
|
||||
|
||||
@@ -7,12 +8,11 @@ status-400 = Bad Request.
|
||||
status-403 = Wrong Password.
|
||||
status-500 = OMG, Server Exploded.
|
||||
|
||||
created-by = Created by [@gravitydenier](http://twitter.com/gravitydenier)
|
||||
footer = Created by [@gravitydenier](http://twitter.com/gravitydenier) ♣ Available on [GitHub](https://github.com/chmllr/NoteHub)
|
||||
|
||||
loading = Loading...
|
||||
set-passwd = Password for editing
|
||||
enter-passwd = Password
|
||||
preview = Preview
|
||||
publish = Publish
|
||||
update = Save
|
||||
published = Published
|
||||
@@ -22,4 +22,3 @@ stats = statistics
|
||||
export = export
|
||||
edit = edit
|
||||
short-url = short url
|
||||
new-note = New Markdown Note
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
|
||||
; Landing Page
|
||||
(defpage "/" {}
|
||||
(layout (get-message :title)
|
||||
(layout (get-message :page-title)
|
||||
[:div#hero
|
||||
[:h1 (get-message :name)]
|
||||
[:h2 (get-message :title)]
|
||||
@@ -94,8 +94,8 @@
|
||||
[:div#dashed-line]
|
||||
; dynamically generates three column, retrieving corresponding messages
|
||||
[:article.helvetica-neue.bottom-space {:style "font-size: 1em"}
|
||||
(md-to-html (slurp "README.md"))]
|
||||
[:div.centered.helvetica-neue (md-to-html (get-message :created-by))]))
|
||||
(md-to-html (slurp "LANDING.md"))]
|
||||
[:div.centered.helvetica-neue (md-to-html (get-message :footer))]))
|
||||
|
||||
; input form for the markdown text with a preview area
|
||||
(defpartial input-form [form-url command fields content passwd-msg]
|
||||
|
||||
Reference in New Issue
Block a user