Created
November 7, 2011 05:46
-
-
Save jestan/1344257 to your computer and use it in GitHub Desktop.
Lift Hacks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Lift Run modes | |
"test", "staging", "production", "pilot", "profile", or blank | |
-Drun.mode=production | |
# Snippets | |
snippets are in the xxx.snippet package or LiftRules.addToPackages("xyz") | |
# Enable HTML 5 | |
LiftRules.htmlProperties.default.set((r: Req) => new Html5Properties(r.userAgent)) | |
# Simple Site Map | |
def sitemap = SiteMap( | |
Menu.i("Home") / "index", | |
Menu.i("Config") / "config") | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment