% content_for :page_title do %> <%= (@object.respond_to?(:properties) and !@object.properties.nil? ? @object.properties[:page_title] : nil) || @name_link.andand.name || @object.friendly_link_name %> <% end %> <% content_for :content_top do %> <% if @object.respond_to? :properties and !@object.properties.nil? %> <% if @object.properties[:page_content] %> <% content_for :page_content do %>