%h1 = root - if parent %a{ :href => parent.empty? ? "/#{idx}" : "/#{idx}#{parent}", :class => "parent" } ↪ = parent.empty? ? '/' : parent - else %a{ :href => "/", :class => "parent" } ↪ Back to selection %h2 = request.path_info.empty? ? '/' : request.path_info %a{ :href => "?mode=raw" } (raw) .contents = preserve contents