DannyBen/madness

View on GitHub
app/views/document.slim

Summary

Maintainability
Test Coverage
== slim :_mobile_search if nav.with_search?
== slim :_nav, locals: { nav: nav } if config.sidebar

.main class=(config.sidebar ? 'with-sidebar' : 'without-sidebar')
  == slim :_breadcrumbs, locals: { breadcrumbs: breadcrumbs }
  == content

  - if type != :file and config.auto_nav
    - unless type == :empty
      hr 
    == slim :_index_nav, locals: { nav: nav }