Skip to content

Commit

Permalink
Remove all assumptions about host, port, and context path.
Browse files Browse the repository at this point in the history
And use html5 to agree with the newnew template
  • Loading branch information
jcrossley3 committed Sep 15, 2012
1 parent f4edc1f commit a138f1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/noir/content/getting_started.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a138f1b

Please sign in to comment.