Skip to content

Commit

Permalink
Moving content abou
Browse files Browse the repository at this point in the history
  • Loading branch information
zolrath committed Sep 15, 2011
1 parent dbaddcc commit 54e85ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/andrew_site/views/common.clj
Expand Up @@ -65,10 +65,9 @@
[:div#content.grid_13 [:div#content.grid_13
(map job-item items)]) (map job-item items)])


(defpartial main-body [] (defpartial main-body [& content]
[:div#wrapContent.container_24 [:div#wrapContent.container_24
(jobs-list jobs) content])
(sidebar)])


(defpartial layout [& content] (defpartial layout [& content]
(html5 (html5
Expand All @@ -79,4 +78,4 @@
[:body [:body
[:div#wrap [:div#wrap
(header top-right desired-title (split-name header-name)) (header top-right desired-title (split-name header-name))
(main-body)]])) (main-body content)]]))
3 changes: 1 addition & 2 deletions src/andrew_site/views/welcome.clj
Expand Up @@ -6,5 +6,4 @@
hiccup.page-helpers)) hiccup.page-helpers))


(defpage "/" [] (defpage "/" []
{"Cache-Control" "no-cache, must-revalidate"} (common/layout (list-jobs jobs) (sidebar)))
(common/layout "Nothing"))

0 comments on commit 54e85ce

Please sign in to comment.