meblog / templates / front / post.html

{% extends 'front/base.html' %}

{% block main_content %}
	<h3 class="title">{{ post.title}}</h3>
	<span class="date">last updated at {{ post.last_update.year }}-{{ post.last_update.month }}-{{ post.last_update.day }}</span>
    <span class="tags">tags: &nbsp;
        {% for t in post.tags %}
            <a class="post-tag" href="/posts/tag/{{ t }}">{{ t }}</a>
        {% endfor %}
    </span>
	<p>
		{% autoescape off %}
		{{ post.body_html|safe }}
		{% endautoescape %}
	</p>
    <div class="clear"  style="height:50"></div>
    {% if fblike %}
    <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="{{ post.get_absolute_url }}"></fb:like>
    {% endif %}
    
	{% if disqus %}
	<!-- Put disquss thread script here -->
    
	{% endif %}
    
{% endblock %}


{% block side_menu %}
<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 %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.