Initial site

This commit is contained in:
Tom Willemsen 2013-02-12 22:23:48 +01:00
commit 4e8b7fe422
6 changed files with 131 additions and 0 deletions

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
out/

1
hyde.scm Normal file
View file

@ -0,0 +1 @@
(use hyde)

38
layouts/default.sxml Normal file
View file

@ -0,0 +1,38 @@
;; -*- mode: scheme; -*-
((menu-items
. (("Browse Source" .
"http://code.ryuslash.org/cgit.cgi/markam/")
("View README" .
"http://code.ryuslash.org/cgit.cgi/markam/about/")))
(print-item
. (lambda (mnu)
`(li (a (@ (href ,(cdr mnu))) ,(car mnu))))))
`((doctype-html)
(html (@ (lang "en"))
(head
(title ,($ 'title))
(link (@ (rel "stylesheet") (type "text/css")
(href "css/bootstrap.min.css")))
(link (@ (rel "stylesheet") (type "text/css")
(href "css/extra.css"))))
(body
(div (@ (class "navbar navbar-static-top"))
(div (@ (class "container"))
(div (@ (class "container"))
(a (@ (href "") (class "brand"))
,($ 'title))
(ul (@ (class "nav pull-right"))
,@(map (eval ($ 'print-item))
($ 'menu-items))))))
(div (@ (class "container"))
(inject ,contents)
(div (@ (class "centered"))
(small
"This site has been generated by "
(a (@ (href "http://wiki.call-cc.org/eggref/4/hyde"))
"Hyde") " and is powered by "
(a (@ (href "http://twitter.github.com/bootstrap/"))
"Bootstrap") " and "
(a (@ (href "http://glyphicons.com/"))
"Glyphicons") "."))))))

9
src/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

4
src/css/extra.scss Normal file
View file

@ -0,0 +1,4 @@
((title . "extra"))
'(css ((= class centered)
(text-align center)))

78
src/index.sxml Normal file
View file

@ -0,0 +1,78 @@
;; -*- mode: scheme; -*-
((title . "Markam")
(conkeror . (a (@ (href "http://conkeror.org")) "Conkeror"))
(chicken . (a (@ (href "http://call-cc.org")) "CHICKEN scheme"))
(chicken-sqlite . (a (@ (href "http://wiki.call-cc.org/eggref/4/sqlite3")) "sqlite3"))
(tar-gz
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.1.0.tar.gz")
(zip
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-0.1.0.zip")
(dev-tar-gz
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.tar.gz")
(dev-zip
. "http://code.ryuslash.org/cgit.cgi/markam/snapshot/markam-master.zip"))
`((div (@ (class "page-header"))
(h1 ,($ 'title)
(small ", store bookmarks")))
(div (@ (class "hero-unit"))
(p "Store bookmarks without being stuck to a single browser.")
(div (@ (class "row"))
(div (@ (class "span3 centered"))
(h3 "Version")
"0.1.0")
(div (@ (class "span4 centered"))
(h3 "Language")
,($ 'chicken))
(div (@ (class "span3 centered"))
(h3 "License")
"GPLv3")))
(div (@ (class "row"))
(div (@ (class "span6"))
(h2 "Features")
(ul
(li "Save and tag bookmarks.")
(li "Search bookmarks by title and tags.")
(li "Use it directly from " ,($ 'conkeror) ":"
(ul
(li "Save the current website or a link on the "
"current page.")
(li "Search through saved bookmarks and open one "
"directly, either in the current window or a new "
"one.")))))
(div (@ (class "span6"))
(h2 "Dependencies")
(dl
(dt ,($ 'chicken))
(dd "Markam has been developed with Version 4.8.0.1, but "
"if it doesn't work with your version of "
,($ 'chicken) ", please let me know. It also requires "
"the " ,($ 'chicken-sqlite) " egg.")
(dt ,($ 'conkeror) " (optional)")
(dd "The latest git version is required. Though this is "
"only relevant if you want to use markam with "
"conkeror."))))
(h2 "Download")
(div (@ (class "row"))
(div (@ (class "span6"))
(h3 "Latest version"))
(div (@ (class "span6"))
(h3 "Development version")))
(div (@ (class "row"))
(div (@ (class "span6"))
(a (@ (href ,($ 'tar-gz))
(class "btn btn-large btn-block"))
"Download 0.1.0 .tar.gz")
(a (@ (href ,($ 'zip))
(class "btn btn-large btn-block"))
"Download 0.1.0 .zip"))
(div (@ (class "span6"))
(a (@ (href ,($ 'dev-tar-gz))
(class "btn btn-large btn-block"))
"Download .tar.gz")
(a (@ (href ,($ 'dev-zip))
(class "btn btn-large btn-block"))
"Download .zip")))
(hr)
(h2 "More...")
(p "For more information please read the README."))