Minor change to out of the box bare.html file
Reported by ram | May 24th, 2010 @ 04:55 AM
bare.html has [[[page:layout()]]] placeholder under body tag. However, page.erl has no such function by default. So, when a beginner like me creates a page (bin/dev page some_page), does not see anything when he opens localhost:8000/some/page.
bare.html could have [[[page:body()]]] instead.
Sorry for reporting such silly ones :)
Comments and changes to this ticket
-
Rusty Klophaus June 14th, 2010 @ 06:32 PM
- State changed from new to resolved
(from [efd950275d26f5c3fd9294912cba5546fa79f1eb]) Rename layout() function to body() in example code. [#68 state:resolved] http://github.com/rklophaus/nitrogen/commit/efd950275d26f5c3fd92949...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang
People watching this ticket
Referenced by
- 68 Minor change to out of the box bare.html file (from [efd950275d26f5c3fd9294912cba5546fa79f1eb]) Rename ...