class SectionQuoteTemplate
def template
def template @template ||= ERB.new <<-EOF <div class='quoteblock'> <% if !title.nil? %> <div class='title'><%= title %></div> <% end %> <div class='content'> <%= content %> </div> <div class='attribution'> <% if attr? :citetitle %> <em><%= attr :citetitle %></em> <% end %> <% if attr? :attribution %> <% if attr? :citetitle %> <br/> <% end %> <%= "— " + attr(:attribution) %> <% end %> </div> </div> EOF end