!!! Strict
%html
  %head
    %title
      = h("Blabbr - #{yield(:title)}")
    = stylesheet_link_tag 'style'
    %link{ :rel => "shortcut icon", :href => "/favicon.ico", :type => "image/x-icon"}
    = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "jquery.rails.js", "jquery.autocomplete.js", "application.js"
    = csrf_meta_tag
  %body
    %header
      %h1
        = link_to "blabbr", root_path
      %nav
        %ul#user_info
          %li#avatar
            = link_to_avatar_thumb current_user
            = link_to current_user.nickname, user_path(current_user.permalink)
          %li
            = link_to t('home'), topics_path
          %li
            = link_to t('preferences'), dashboard_path
          %li
            = link_to t('logout'), logout_path
      %aside
        %ul.topic-list
          %li.new
            = link_to t('topics.new'), new_topic_path
          %li.new
            = link_to t('smilies.new'), new_smiley_path
    %hr
    - flash.each do |name, msg|
      = content_tag :div, msg, :id => "flash_#{name}"
    %h2
      = yield(:title)
    %section#contents
      =yield

!!! Strict
%html
  %head
    %title
      = h("Blabbr - #{yield(:title)}")
    = stylesheet_link_tag 'style'
    %link{ :rel => "shortcut icon", :href => "/favicon.ico", :type => "image/x-icon"}
    = javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js", "jquery.rails.js", "jquery.autocomplete.js", "application.js"
    = csrf_meta_tag
  %body
    %header
      %h1
        = link_to "blabbr", root_path
      %nav
        %ul#user_info
          %li#avatar
            = link_to_avatar_thumb current_user
            = link_to current_user.nickname, user_path(current_user.permalink)
          %li
            = link_to t('home'), topics_path
          %li
            = link_to t('preferences'), dashboard_path
          %li
            = link_to t('logout'), destroy_user_session_path
      %aside
        %ul.topic-list
          %li.new
            = link_to t('topics.new'), new_topic_path
          %li.new
            = link_to t('smilies.new'), new_smiley_path
    %hr
    - flash.each do |name, msg|
      = content_tag :div, msg, :id => "flash_#{name}"
    %h2
      = yield(:title)
    %section#contents
      =yield

Change route in application layout
Change route in application layout
