Skip to content

Instantly share code, notes, and snippets.

Henrik Härkönen heharkon

Block or report user

Report or block heharkon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
heharkon / W3Navbar.scala
Last active Dec 20, 2018
Liftweb snippet for rendering sitemap as navbar with W3.CSS
View W3Navbar.scala
import net.liftweb.http._
import net.liftweb.sitemap.MenuItem
import scala.xml.NodeSeq
class W3Navbar {
def ifSelectedColor(kid: MenuItem, color: String): String = {
kid.current match {
case true => color

Keybase proof

I hereby claim:

  • I am heharkon on github.
  • I am heharkon ( on keybase.
  • I have a public key whose fingerprint is F3E0 C8CD E9DB 22B7 7C4A EFDB E14E BC31 284E 1E94

To claim this, I am signing this object:

You can’t perform that action at this time.