summaryrefslogtreecommitdiffstats
path: root/layouts
diff options
context:
space:
mode:
authorGravatar Tom Willemsen2013-02-16 11:15:51 +0100
committerGravatar Tom Willemsen2013-02-16 11:15:51 +0100
commitc788a7225797d3186de2321d070e58ee1e8be758 (patch)
tree2567c75b90b8b8b90aa58447b74bae4128b06d77 /layouts
parent4e8b7fe422ea8a5753603e47a8c4bd98470a777d (diff)
downloadmarkam-site.tar.gz
markam-site.zip
Update info to v0.2.0site
Also add a downloads page where all the earlier versions can be found as well.
Diffstat (limited to 'layouts')
-rw-r--r--layouts/default.sxml19
1 files changed, 14 insertions, 5 deletions
diff --git a/layouts/default.sxml b/layouts/default.sxml
index bed26f2..73981a2 100644
--- a/layouts/default.sxml
+++ b/layouts/default.sxml
@@ -1,5 +1,8 @@
;; -*- mode: scheme; -*-
-((menu-items
+((site-title . "Markam")
+ (menu-items-left
+ . (("Downloads" . "downloads.html")))
+ (menu-items-right
. (("Browse Source" .
"http://code.ryuslash.org/cgit.cgi/markam/")
("View README" .
@@ -11,7 +14,7 @@
`((doctype-html)
(html (@ (lang "en"))
(head
- (title ,($ 'title))
+ (title ,($ 'site-title) ": " ,($ 'title))
(link (@ (rel "stylesheet") (type "text/css")
(href "css/bootstrap.min.css")))
(link (@ (rel "stylesheet") (type "text/css")
@@ -20,12 +23,18 @@
(div (@ (class "navbar navbar-static-top"))
(div (@ (class "container"))
(div (@ (class "container"))
- (a (@ (href "") (class "brand"))
- ,($ 'title))
+ (a (@ (href "index.html") (class "brand"))
+ ,($ 'site-title))
+ (ul (@ (class "nav"))
+ ,@(map (eval ($ 'print-item))
+ ($ 'menu-items-left)))
(ul (@ (class "nav pull-right"))
,@(map (eval ($ 'print-item))
- ($ 'menu-items))))))
+ ($ 'menu-items-right))))))
(div (@ (class "container"))
+ (div (@ (class "page-header"))
+ (h1 ,($ 'site-title)
+ (small ", " ,($ 'title))))
(inject ,contents)
(div (@ (class "centered"))
(small