Permalink
Browse files

Merge pull request #127 from jcrossley3/better-experience

Work whether mounted at the root context or not
  • Loading branch information...
2 parents 744780c + a138f1b commit 7959c8d7320b1421cd2b1f2a062abf452bfd56a1 @Raynes Raynes committed Nov 12, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 resources/public/css/noir.css
  2. +2 −2 src/noir/content/getting_started.clj
View
2 resources/public/css/noir.css
@@ -1,5 +1,5 @@
body {
- background: url(/img/noir-bg.png);
+ background: url(../img/noir-bg.png);
color: #d1d9e1;
padding: 60px 80px;
font-family: 'Helvetica Neue',Helvetica,Verdana;
View
4 src/noir/content/getting_started.clj
@@ -36,12 +36,12 @@
[:pre
[:code
"(defpage \"/my-page\" []
- (html
+ (html5
[:h1 \"This is my first page!\"]))"]]]
[:div.left
[:p "Time to get going with our first page. Let's open views/welcome.clj
and use (defpage) to add a new page to our site. With that we can go to "
- (link-to "http://localhost:8080/my-page" "http://localhost:8080/my-page")
+ (link-to "/my-page" "/my-page")
" and see our handiwork."]]]
[:li

0 comments on commit 7959c8d

Please sign in to comment.