Permalink
Browse files

More cleanup

  • Loading branch information...
1 parent 0ed6a2e commit 7ef3ea178a851e0aa4f81ccde5c336689e91ea5f @zolrath committed Sep 16, 2011
Showing with 7 additions and 5 deletions.
  1. +1 −0 src/andrew_site/models/.#db.clj
  2. +5 −4 src/andrew_site/views/common.clj
  3. +1 −1 src/andrew_site/views/welcome.clj
@@ -72,11 +72,12 @@
[:div#content.grid_13
(map job-item items)])
-(defpartial main-body [& content]
+(defpartial main-body []
[:div#wrapContent.container_24
- content])
+ (jobs-list db/jobs)
+ (sidebar)])
-(defpartial layout [& content]
+(defpartial layout []
(html5
[:head
[:title "Andrew Marrone"]
@@ -85,4 +86,4 @@
[:body
[:div#wrap
(header top-right desired-title (split-name header-name))
- (main-body content)]]))
+ (main-body)]]))
@@ -8,4 +8,4 @@
(defpage "/" []
(db/maybe-init)
- (common/layout (common/jobs-list db/jobs) (common/sidebar)))
+ (common/layout))

0 comments on commit 7ef3ea1

Please sign in to comment.