summaryrefslogtreecommitdiffstats
path: root/layouts/default.sxml
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/default.sxml')
-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