This can probably be done better, but it seems to work:
def buildLink(name: String, text: NodeSeq): NodeSeq =
for (loc <- SiteMap.findAndTestLoc(name).toList;
link <- Full(loc.link.buildUri.filter(_ !=
"index").mkString("/", "/", "")))
yield {
text match {
Yeah, I've been tracking that down. I rewrote the Menu snippet (copied
and pasted the default one and then made changes) to do some other
things I wanted. I see that it's just a matter of changing the item
method to do what I want it to do. Very cool.
Thanks. I'm beginning to understand what t
Charles F. Munat wrote:
> I'm trying to access a page about/index.html using the url
>
> about/
>
> If I add it to the site map:
>
> Menu(Loc("about", List("about", "index"), "About"))
>
> I can access it at about/
>
> but if I use to put the link on the
> page, then the link url comes out as