Sha256: 9ac12396a1e80930b69f7a357db887e234005a28d568fca0e1b555e7222ce0b9
Contents?: true
Size: 1.14 KB
Versions: 3
Compression:
Stored size: 1.14 KB
Contents
<?r if @tag ?> <h2>Posts tagged #{@tag.name}</h2> <?r end ?> <?r @posts.each do |post| ?> <article class="post"> <header> <h3 class="title"><a href="#{post.href}">#{post.title}</a></h3> </header> <div class="post-body"> <?r if post.body == post.body_partial ?> #{maruku post.body} <?r else ?> #{maruku post.body_partial} #{a 'Continue reading...', post.href} <?r end ?> </div> <footer class="meta"> <?r if post.tags.count > 0 ?> <div class="tags"> <?r post.tags.each do |tag| ?> <a href="#{tag.href}">#{tag.name}</a> <?r end ?> </div> <?r end ?> By #{post.user.username}, <abbr title="#{Time.at(post.published_at)}">#{post.published_at.ago_in_words}</abbr>, <a href="#{post.href}#comments">#{post.comments.count} comments</a> </footer> </article> <?r end ?> <?r if @posts.page_count > 1 ?> <div class="pager_nav"> <?r if @posts.prev_page ?> <a href="/page/#{@posts.prev_page}" class="prev">< Previous</a> <?r end ?> <?r if @posts.next_page ?> <a href="/page/#{@posts.next_page}" class="next">Next > </a> <?r end ?> </div> <?r end ?>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
blogaze-0.1.0 | lib/blogaze/themes/default/index.xhtml |
blogaze-0.0.3 | lib/blogaze/themes/default/index.xhtml |
blogaze-0.0.2 | proto/themes/default/index.xhtml |