This repository has been archived on 2020-05-27. You can view files and clone it, but cannot push or open issues/pull-requests.
barleysodas/app/views/pages/_page.rhtml

21 lines
617 B
Plaintext
Raw Normal View History

<div class="hentry" id="article-<%= @page.id %>">
<h2 class="entry-title">
<%= @page.title %>
<span class="comment_count">Comment Size Here</span>
</h2>
<div class="vcard">
Posted by <span class="fn">Author Name Here</span>
</div>
<br class="clear" />
<div class="entry-content">
<%= @page.html %>
</div>
<ul class="meta">
<li>Tags: <%= @page.tag_names.join(' ') -%></li>
<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") %>
</ul>
</div>