-<% if @object.respond_to? :properties %>
-
<% content_for :page_title do %>
-<%= @object.properties[:page_title] || @object.friendly_link_name %>
+<%= (@object.respond_to?(:properties) ? @object.properties[:page_title] : nil) ||
+ @object.friendly_link_name %>
<% end %>
+<% if @object.respond_to? :properties %>
<% if @object.properties[:page_content] %>
<% content_for :page_content do %>
<h1>