I have a small Sinatra app using haml. I'd like to have a navigation bar on each page that will contain the menu, search, and directional scrolling arrows. Since this will be on every page I assume the layout would be the right place. I cannot find a good example of how to achieve this any where.
Would this be a layout with many conditionals? Class names and links will change depending on what the current page is.
What are the best practices to achieve this and are there any examples?