Skip to content

Instantly share code, notes, and snippets.

@molekilla
Created March 27, 2012 19:17
Show Gist options
  • Save molekilla/2219408 to your computer and use it in GitHub Desktop.
Save molekilla/2219408 to your computer and use it in GitHub Desktop.
Escuelita de Scala - Parte 3a - Index page
@()
@navbarContext = {
<li class="active"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
}
@sidebar = {
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Sidebar</li>
<li class="active"><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</div>
}
@main(title = "RegPubFinder")(navbarContext)(sidebar) {
<div id="searchResults"></div>
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment