Samples

  • To see some basic content and snippet examples, click on "Basic" from the "Samples" category.
  • The "About" link in the navigation doesn't actually represent a page, it just links to "/about/story". Navigation items don't have to actually be a page.
  • To see a sample of an External Link, click on "External Link" in the "Samples" category. It's usually a bad idea to do this from the main nav, but it can be useful.
  • To see an example of Integrating Kohana, you can see the contact form, which uses a sub request, or the override example.

Navigation Samples

As an example, the Home template has a secondary nav (on the right side of the page) with the header turned off, and the depth set to 2. The code for this nav is like this:

{{ Kohanut.nav('header=0, depth=2') }}

Where as on all the other pages in this demo the nav has a header and a depth of 1, like this:

{{ Kohanut.nav('header=1, header_class=nav-header, depth=1') }}

See the complete list of the [navigation options].