Sha256: 428fd344f82f2c531dfcbb594eeb505e83ebec116d4da2fd151fcc30ae869c2c

Contents?: true

Size: 807 Bytes

Versions: 3

Compression:

Stored size: 807 Bytes

Contents

<?xml version="1.0"?>

#{s_page}

<?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 ?>

#{e_page}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
nitro-0.12.0 examples/no_xsl_blog/root/index.xhtml
nitro-0.13.0 examples/no_xsl_blog/public/index.xhtml
nitro-0.14.0 examples/no_xsl_blog/public/index.xhtml