Skip to content

Instantly share code, notes, and snippets.

@nickgartmann
Created July 28, 2015 20:54
Show Gist options
  • Save nickgartmann/744f66f9fa3a8b91cf0b to your computer and use it in GitHub Desktop.
Save nickgartmann/744f66f9fa3a8b91cf0b to your computer and use it in GitHub Desktop.
Example DSL for the page widget for the eConnect v2 project. Note, this does not require a navbar to work. When the current URL path matches the given path, we display the page.
<page title="Home" default><!-- put slideshow widget here --></page>
<page title="Movies" path="/movies"><!-- movie list widget goes here --></page>
<page title="Music" path="/music"><!-- album list widget goes here --></page>
<page title="Player" path="/media-player"><!-- media player goes here --></page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment