Permalink
Browse files

Moving content abou

  • Loading branch information...
1 parent dbaddcc commit 54e85ce23490296182913b26abb43a4c78e9e61e @zolrath committed Sep 15, 2011
Showing with 4 additions and 6 deletions.
  1. +3 −4 src/andrew_site/views/common.clj
  2. +1 −2 src/andrew_site/views/welcome.clj
@@ -65,10 +65,9 @@
[:div#content.grid_13
(map job-item items)])
-(defpartial main-body []
+(defpartial main-body [& content]
[:div#wrapContent.container_24
- (jobs-list jobs)
- (sidebar)])
+ content])
(defpartial layout [& content]
(html5
@@ -79,4 +78,4 @@
[:body
[:div#wrap
(header top-right desired-title (split-name header-name))
- (main-body)]]))
+ (main-body content)]]))
@@ -6,5 +6,4 @@
hiccup.page-helpers))
(defpage "/" []
- {"Cache-Control" "no-cache, must-revalidate"}
- (common/layout "Nothing"))
+ (common/layout (list-jobs jobs) (sidebar)))

0 comments on commit 54e85ce

Please sign in to comment.