do not show author unless it is a page
git-svn-id: http://svn.barleysodas.com/barleysodas/trunk@146 0f7b21a7-9e3a-4941-bbeb-ce5c7c368fa7master
parent
aa8402278a
commit
88c34df73c
|
@ -3,9 +3,9 @@
|
||||||
<h2 class="entry-title">
|
<h2 class="entry-title">
|
||||||
<%= @page.title %>
|
<%= @page.title %>
|
||||||
</h2>
|
</h2>
|
||||||
<% unless simple -%><div class="vcard">
|
<div class="vcard">
|
||||||
Posted by <span class="fn"><%= @page.created_by.title rescue 'That other guy' -%></span>
|
<% if @page.owner_type.nil? -%>Posted by <span class="fn"><%= @page.created_by.title rescue 'That other guy' -%></span><% end -%> Created: <%= @page.created_at -%>
|
||||||
</div><% end -%>
|
</div>
|
||||||
<br class="clear" />
|
<br class="clear" />
|
||||||
<div class="entry-content">
|
<div class="entry-content">
|
||||||
<%= replace_wiki_words(@page.html) %>
|
<%= replace_wiki_words(@page.html) %>
|
||||||
|
|
Reference in New Issue