lib/olelo/views/layout.slim in olelo-0.9.12 vs lib/olelo/views/layout.slim in olelo-0.9.13
- old
+ new
@@ -1,7 +1,7 @@
doctype 5
-html.no-js lang=Olelo::Config['locale'].sub('_', '-') class={page && !page.head? ? 'archive' : nil} xmlns='http://www.w3.org/1999/xhtml'
+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
@@ -16,10 +16,10 @@
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
+ &text id='pattern' name='pattern' value=params[:pattern] placeholder=:search.t
#menu
= breadcrumbs(page)
- if page && !page.head?
= date page.version.date
= menu :actions