Sha256: 20e0f2c3507801c5a43775e9dd2acbc9a56c326d2ff6378b6658e802e998e67f
Contents?: true
Size: 952 Bytes
Versions: 2
Compression:
Stored size: 952 Bytes
Contents
<?xml version="1.0"?> <x:page xmlns:x="http://www.navel.gr/xml/shader.xsd"> <x:cell id="main"> <?r if @entries for entry in @entries ?> <div class="entry"> <h2 class="date">#{entry.create_time.strftime('%B %e, %G')}</h2> <div class="post"> <h3 class="title">#{entry.title}</h3> #{entry.body} <div class="footer"> posted by #{entry.author} at <a href="#{entry.view_uri}">#{entry.create_time.strftime('%R %p')}</a> | <a href="#{entry.view_uri}#comments">#{entry.comments_count} comments</a>. <?r if session[:owner] ?> [<a href="del_entry?oid=#{entry.oid}">del</a>] <?r end ?> </div> </div> </div> <?r end else ?> no entries <?r end ?> <div class="pager"> #{@pager.navigation} <div class="clear">.</div> </div> <?r if session[:owner] ?> <render href="entry_form" /> <?r end ?> </x:cell> <x:cell id="side"> <render href="recent_posts" /> </x:cell> </x:page>
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
nitro-0.12.0 | examples/blog/root/index.xhtml |
nitro-0.13.0 | examples/blog/src/views/index.xhtml |