Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

better naming

Signed-off-by: Chris Granger <ibdknox@gmail.com>
  • Loading branch information...
commit 27a1b755c4eff8afda606324452644e23db5afb6 1 parent 9d3073e
@ibdknox ibdknox authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 src/noir_blog/views/common.clj
View
8 src/noir_blog/views/common.clj
@@ -5,11 +5,7 @@
;; Links and includes
-(def home-links [{:url "/blog/" :cls "bloglink" :text "Blog"}
- {:url "/projects" :cls "projectlink" :text "Projects"}
- {:url "/contact" :cls "contactlink" :text "Contact"}])
-
-(def vertical-links [{:url "/blog/admin/" :text "Admin"}])
+(def main-links [{:url "/blog/admin/" :text "Admin"}])
(def admin-links [{:url "/blog/" :text "Blog"}
{:url "/blog/admin/" :text "Posts"}
@@ -43,7 +39,7 @@
[:div#header
[:h1 (link-to "/blog/" "The Noir blog")]
[:ul.nav
- (map link-item vertical-links)]]
+ (map link-item main-links)]]
content]]]))
(defpartial admin-layout [& content]
Please sign in to comment.
Something went wrong with that request. Please try again.