Update info to v0.2.0

Also add a downloads page where all the earlier versions can be found
as well.
This commit is contained in:
Tom Willemsen 2013-02-16 11:15:51 +01:00
parent 4e8b7fe422
commit c788a72257
3 changed files with 36 additions and 15 deletions

View file

@ -1,5 +1,8 @@
;; -*- mode: scheme; -*- ;; -*- mode: scheme; -*-
((menu-items ((site-title . "Markam")
(menu-items-left
. (("Downloads" . "downloads.html")))
(menu-items-right
. (("Browse Source" . . (("Browse Source" .
"http://code.ryuslash.org/cgit.cgi/markam/") "http://code.ryuslash.org/cgit.cgi/markam/")
("View README" . ("View README" .
@ -11,7 +14,7 @@
`((doctype-html) `((doctype-html)
(html (@ (lang "en")) (html (@ (lang "en"))
(head (head
(title ,($ 'title)) (title ,($ 'site-title) ": " ,($ 'title))
(link (@ (rel "stylesheet") (type "text/css") (link (@ (rel "stylesheet") (type "text/css")
(href "css/bootstrap.min.css"))) (href "css/bootstrap.min.css")))
(link (@ (rel "stylesheet") (type "text/css") (link (@ (rel "stylesheet") (type "text/css")
@ -20,12 +23,18 @@
(div (@ (class "navbar navbar-static-top")) (div (@ (class "navbar navbar-static-top"))
(div (@ (class "container")) (div (@ (class "container"))
(div (@ (class "container")) (div (@ (class "container"))
(a (@ (href "") (class "brand")) (a (@ (href "index.html") (class "brand"))
,($ 'title)) ,($ 'site-title))
(ul (@ (class "nav"))
,@(map (eval ($ 'print-item))
($ 'menu-items-left)))
(ul (@ (class "nav pull-right")) (ul (@ (class "nav pull-right"))
,@(map (eval ($ 'print-item)) ,@(map (eval ($ 'print-item))
($ 'menu-items)))))) ($ 'menu-items-right))))))
(div (@ (class "container")) (div (@ (class "container"))
(div (@ (class "page-header"))
(h1 ,($ 'site-title)
(small ", " ,($ 'title))))
(inject ,contents) (inject ,contents)
(div (@ (class "centered")) (div (@ (class "centered"))
(small (small

15
src/downloads.sxml Normal file
View file

@ -0,0 +1,15 @@
;; -*- mode: scheme; -*-
((title . "downloads")
(versions . ("master" "0.2.0" "0.1.0")))
`((ul
,@(map (lambda (version)
`(li ,version ": "
(a (@ (href "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-"
,version ".tar.gz"))
"tar.gz")
", "
(a (@ (href "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-"
,version ".zip"))
"zip")))
($ 'versions))))

View file

@ -1,26 +1,23 @@
;; -*- mode: scheme; -*- ;; -*- mode: scheme; -*-
((title . "Markam") ((title . "store bookmarks")
(conkeror . (a (@ (href "http://conkeror.org")) "Conkeror")) (conkeror . (a (@ (href "http://conkeror.org")) "Conkeror"))
(chicken . (a (@ (href "http://call-cc.org")) "CHICKEN scheme")) (chicken . (a (@ (href "http://call-cc.org")) "CHICKEN scheme"))
(chicken-sqlite . (a (@ (href "http://wiki.call-cc.org/eggref/4/sqlite3")) "sqlite3")) (chicken-sqlite . (a (@ (href "http://wiki.call-cc.org/eggref/4/sqlite3")) "sqlite3"))
(tar-gz (tar-gz
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.1.0.tar.gz") . "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.2.0.tar.gz")
(zip (zip
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.1.0.zip") . "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.2.0.zip")
(dev-tar-gz (dev-tar-gz
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.tar.gz") . "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.tar.gz")
(dev-zip (dev-zip
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.zip")) . "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.zip"))
`((div (@ (class "page-header")) `((div (@ (class "hero-unit"))
(h1 ,($ 'title)
(small ", store bookmarks")))
(div (@ (class "hero-unit"))
(p "Store bookmarks without being stuck to a single browser.") (p "Store bookmarks without being stuck to a single browser.")
(div (@ (class "row")) (div (@ (class "row"))
(div (@ (class "span3 centered")) (div (@ (class "span3 centered"))
(h3 "Version") (h3 "Version")
"0.1.0") "0.2.0")
(div (@ (class "span4 centered")) (div (@ (class "span4 centered"))
(h3 "Language") (h3 "Language")
,($ 'chicken)) ,($ 'chicken))
@ -62,10 +59,10 @@
(div (@ (class "span6")) (div (@ (class "span6"))
(a (@ (href ,($ 'tar-gz)) (a (@ (href ,($ 'tar-gz))
(class "btn btn-large btn-block")) (class "btn btn-large btn-block"))
"Download 0.1.0 .tar.gz") "Download 0.2.0 .tar.gz")
(a (@ (href ,($ 'zip)) (a (@ (href ,($ 'zip))
(class "btn btn-large btn-block")) (class "btn btn-large btn-block"))
"Download 0.1.0 .zip")) "Download 0.2.0 .zip"))
(div (@ (class "span6")) (div (@ (class "span6"))
(a (@ (href ,($ 'dev-tar-gz)) (a (@ (href ,($ 'dev-tar-gz))
(class "btn btn-large btn-block")) (class "btn btn-large btn-block"))