2007-11-17 04:42:02 -05:00
|
|
|
<% simple ||= false -%>
|
2007-11-15 19:57:44 -05:00
|
|
|
<div class="hentry" id="article-<%= @page.id %>">
|
|
|
|
<h2 class="entry-title">
|
|
|
|
<%= @page.title %>
|
2007-11-17 04:42:02 -05:00
|
|
|
<% unless simple -%><span class="comment_count">Comment Size Here</span><% end -%>
|
2007-11-15 19:57:44 -05:00
|
|
|
</h2>
|
2007-11-17 04:42:02 -05:00
|
|
|
<% unless simple -%><div class="vcard">
|
2007-11-15 19:57:44 -05:00
|
|
|
Posted by <span class="fn">Author Name Here</span>
|
2007-11-17 04:42:02 -05:00
|
|
|
</div><% end -%>
|
2007-11-15 19:57:44 -05:00
|
|
|
<br class="clear" />
|
|
|
|
<div class="entry-content">
|
|
|
|
<%= @page.html %>
|
|
|
|
</div>
|
2007-11-17 04:42:02 -05:00
|
|
|
<% unless simple -%><ul class="meta">
|
2007-11-17 04:16:30 -05:00
|
|
|
<% if @page.tags.size > 0 -%><li>Tags: <%= @page.tag_names.join(' ') -%></li><% end -%>
|
2007-11-15 22:11:50 -05:00
|
|
|
<li>Version: <%= @page.version -%></li>
|
|
|
|
<% @page.owner.page_attributes.each do |x| -%>
|
|
|
|
<li><%= x -%></li>
|
|
|
|
<% end if @page.owner and @page.owner.respond_to?("page_attributes") %>
|
2007-11-17 04:42:02 -05:00
|
|
|
</ul><% end -%>
|
2007-11-15 22:11:50 -05:00
|
|
|
</div>
|