Source

meblog / templates / front / stream.html

Full commit
Hudarsono 32c463b 


Hudarsono Hu ccd4900 
Hudarsono 32c463b 

Hudarsono Hu 0179e2e 
Hudarsono 32c463b 





Hudarsono 2150935 









Hudarsono 32c463b 
Hudarsono df724ed 


Hudarsono Hu ccd4900 


Hudarsono 32c463b 



Hudarsono Hu ccd4900 
Hudarsono Hu 0179e2e 









Hudarsono 32c463b 







Hudarsono Hu ccd4900 
Hudarsono 32c463b 

Hudarsono Hu ccd4900 
Hudarsono 32c463b 







Hudarsono Hu ccd4900 
Hudarsono 32c463b 
{% extends 'front/base.html' %}

{% block main_content %}
{% if posts %}
{% for p in posts %}
	<h3 class="title"><a href="{{ p.get_absolute_url }}">{{ p.title}}</a></h3>
	<span class="date">Writen at {{ p.pub_date.year }}-{{ p.pub_date.month }}-{{ p.pub_date.day }} by {{ p.author.nickname }}</span>
	<p>
		{% autoescape off %}
		{{ p.trunc_body }}
		{% endautoescape %}

	</p>
    
    {% if fblike %}
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="{{ p.get_absolute_url }}" layout="button_count"></fb:like>	
    {% endif %}
    
    {% if discuss %}
    <a class="comment-link" href="{{ p.get_absolute_url }}#disqus_thread">Comments</a>
	{% endif %}
    
    <div class="clear"></div>
{% endfor %}

{% if paging.prev %}<a href="/?page={{ paging.prev }}">Prev Posts</a> &nbsp;&nbsp;{% endif %}
{% if paging.next %}<a href="/?page={{ paging.next }}">More Post</a>{% endif %}
{% else %}
	<h3>No Post</h3>
{% endif %}
{% endblock %}


{% block side_menu %}
<div class="widget">
<span class="side-title">Subscribe</span>
<div class="nav-cat">
	<ul>
		<li><a href="/feeds/latest/"><img src="/resources/img/small/rssfeed.jpg"</a></li>
	</ul>
</div>
</div>


<div class="widget">
<span class="side-title">Categories</span>
<div class="nav-cat">
	<ul>
	{% for cat in categories %}
		<li>&#187; <a href="{{ cat.url }}">{{ cat.category }}</a>({{ cat.count }})</li>
	{% endfor %}
	</ul>
</div>
</div>
<div class="clear"></div>

<div class="widget">
<span class="side-title">Tags</span>
<div class="nav-cat">
	<ul>
	{% for tag in tags %}
		<li>&#187; <a href="{{ tag.url }}">{{ tag.tag }}</a>({{ tag.count }})</li>
	{% endfor %}
	</ul>
</div>
</div>
{% endblock %}