Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use hiccup.core required in default welcome.clj? #11

Open
uvtc opened this issue Jul 16, 2012 · 2 comments
Open

use hiccup.core required in default welcome.clj? #11

uvtc opened this issue Jul 16, 2012 · 2 comments

Comments

@uvtc
Copy link

uvtc commented Jul 16, 2012

Upon creating a new lein project, the default page tells me to get going by adding the following to welcome.clj:

(defpage "/my-page" []
  (html
    [:h1 "This is my first page!"]))

but the html symbol is not resolved. Had to add a :use hiccup.core :only [html] to the ns macro at the top of welcome.clj.

@holyjak
Copy link

holyjak commented Oct 26, 2012

See also noir-clojure/noir#134

@holyjak
Copy link

holyjak commented Oct 26, 2012

It is quite surprising it takes > 3 months to fix something that simple :-(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants