Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Nov 5, 2011
1 parent 559d8d8 commit 95360d3
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,29 @@ Usage
Layouting
=========

You can put a _layout.<FORMAT> file into the root of the project in order to define a special layout
for all of the other pages. Insert a ```yield``` for your page's content:
Put a _layout.<FORMAT> file into the root of the project.
All pages will be rendered in the `yield`.

<html>
<head>
<title></title>
<title>Amazing</title>
</head>
<body><%= yield %></body>
</html>

TODO (fork!)
====
- ~~use _layout.erb files as layout~~ unless view does something like `no_layout`
- do not use layout if view does something like `no_layout`
- add helpers like link_to / tag / form
- escape html in params <-> xss

Author
======
Initial (crazy) idea by [Steffen Schröder](https://github.com/ChaosSteffen)

### [Contributors](http://github.com/grosser/rhr/contributors)
- [Sascha Depold](http://github.com/sdeplod)

[Michael Grosser](http://grosser.it)<br/>
michael@grosser.it<br/>
Hereby placed under public domain, do what you want, just do not hold me accountable...<br/>
Expand Down

0 comments on commit 95360d3

Please sign in to comment.