Up: Chapter 13

13.2 Making a SiteMap entry

Every page on the site needs a SiteMap entry. For more on SiteMap, see 3.2 on page 1↑ and 7.5 on page 1↑.
Open the Boot.scala file (src/main/scala/bootstrap/liftweb/Boot.scala) and update the SiteMap definition:
    // Build SiteMap
    def sitemap(): SiteMap = SiteMap(
      Menu("Home") / "index",
      Menu("Second Page") / "second"
    )
Up: Chapter 13

(C) 2012 David Pollak