Sha256: 6f51127ff74aad24cb5678e924eb7c90e04ac0b77d86848f76fef7e05824ae73

Contents?: true

Size: 1.09 KB

Versions: 3

Compression:

Stored size: 1.09 KB

Contents

doctype 5
html.no-js lang=Olelo::Config['locale'].sub('_', '-') class={page && !page.head? ? 'archive' : nil} xmlns='http://www.w3.org/1999/xhtml'
  head
    title= Olelo::Config['title'] + ' - ' + title
    = head
  body
    #header
      h1
        a href=Olelo::Config['base_path'] = Olelo::Config['title']
      #info
        - if Olelo::User.logged_in?
          a rel="nofollow" href=build_path(:profile) = Olelo::User.current.name
          ' |
          a rel="nofollow" href=build_path(:logout) = :logout.t
        - else
          a rel="nofollow" href=build_path(:login) = :login.t
      #search
        form action=build_path(:search) method='get'
          div
            label.hidden for='pattern' = :search.t
            &text id='pattern' name='pattern' value={params[:pattern]} placeholder=:search.t
    #menu
      = breadcrumbs(page)
      - if page && !page.head?
        = date page.version.date
      = menu :actions
    #container
      #sidebar == include_page(Olelo::Config['sidebar_page'])
      #content == yield
    #footer
      == footer
      .noprint.powered_by
        == :powered_by.t

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
olelo-0.9.12 lib/olelo/views/layout.slim
olelo-0.9.11 lib/olelo/views/layout.slim
olelo-0.9.10 lib/olelo/views/layout.slim