Source

alecwh / templates / article.html

Full commit
$def with (article)
		<div class="original_article"></div>
		<div class="article" id="article_$article['id_']">
			<h1><a href="$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).html">$article['title']</a> <span class="info_elements"><span><a href="$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).html#comments" class="comment_count">$article['comment_count'] comments</a>
			$if article['session'].auth == 1:
				<span><a href="#" class="admin_link admin_edit" id="edit_$article['id_']">&Delta;</a></span>&#160;<span><a href="#" class="admin_link admin_delete_article" id="delete_$article['id_']">&otimes;</a></span></span></span>
			$else:
				<span></span>
			
			</h1>
			<h4> <em>Published</em> $article['date'] by $article['author'] &mdash; tagged $article['tag_list']</h4>
			<!--<div class="social_networking"><script type="text/javascript" src="http://reddit.com/static/button/button3.js?url=$article['base_url']$article['year']/$article['month']/$article['day']/$article['url_id']/"></script></div>-->
			<!-- Content -->
			$article['content']
			<!-- /Content -->
			<h4 class="article_link">Link: <a href="$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).html">$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).html</a></h4>
			<h4 class="available_formats">Available formats: <a href="$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).html">HTML</a> <a href="$article['base_url']$article['year']/$article['month']/$article['day']/$(article['url_id']).markdown">Markdown</a>
		</div>
		<h1 id="comments" class="comments">Comments</h1>