Skip to content

Commit

Permalink
Fix some asciidoc syntax errors
Browse files Browse the repository at this point in the history
  • Loading branch information
manveru committed May 1, 2009
1 parent afc87b4 commit 301fd89
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions chapter/layouts.txt
Expand Up @@ -191,7 +191,7 @@ include::source/layouts/configuration/possible_paths_for.xmp[tabsize=2]

There are two options on `Ramaze.options` that influence the lookup, one is the
`roots`, which is set depending on your application, the other the `layouts`
which defaults to `[\'/layout\']`.
which defaults to `['/layout']`.

[source,ruby]
--------------------------------------------------------------------------------
Expand All @@ -211,7 +211,7 @@ functionality effectively.

[source,ruby]
--------------------------------------------------------------------------------
include::source/layouts/provides/smiley.xmp[tabsize=2]
include::source/layouts/provides/smiley.rb[tabsize=2]
--------------------------------------------------------------------------------

So we add two provides named `frown` and `smile`, and there is one default
Expand All @@ -234,7 +234,7 @@ $ cat layout/default.smile.xhtml
Following responses will be served on requests:

|===============================================================================
| '/index' | ':| emoticons ftw! |:'
| '/index' | ':\| emoticons ftw! \|:'
| '/index.frown' | ':( emoticons ftw! ):'
| '/index.smile' | ':) emoticons ftw! (:'
|===============================================================================
Expand Down

0 comments on commit 301fd89

Please sign in to comment.