Skip to content

Commit

Permalink
One thing worth mentioning in passing is that we're going to be using
Browse files Browse the repository at this point in the history
Lift's XML input, but its HTML5 output. We do care about valid output,
but we gain a bit of flexibility from allowing the main Lift templates
from being XML. Sometimes we don't want a wrapping HTML container just
so we can invoke a Lift snippet or what have you.
  • Loading branch information
Shadowfiend committed Mar 18, 2012
1 parent d61a643 commit 35c7d0c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/scala/bootstrap/liftweb/Boot.scala
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ class Boot {
// where to search for snippets
LiftRules.addToPackages("com.withoutincident")

LiftRules.htmlProperties.default.set { r:Req => new XHtmlInHtml5OutProperties(r.userAgent) }

// Build SiteMap
val entries = List(
Menu.i("Home") / "index" // the simple way to declare a menu
Expand Down

0 comments on commit 35c7d0c

Please sign in to comment.