{% extends "_layout/base.html" %}
{% block title %}{{ post.title }}{% endblock %}
{% block description %}{{ post.html | striptags | truncate(length=255 ,killwords=False)}}{% endblock %}
{% block content %}
<article class="post entry clearfix">
    <p class="meta-info">Posted  by {{ post.author }} on <a href="{{ post.url }}">{{ post.pub_time.strftime('%b %d,%Y') }} </p>

    <div class="post_content clearfix">
        <h2 class="title"><a href="{{ post.url }}">{{ post.title }}</a></h2>
        <hr/>
        {{ post.html | safe }}
    </div>
</article>

{% if site.comment_system == 'disqus' %}
{% include "_comments/disqus.html" %}
{% elif site.comment_system == 'duoshuo' %}
{% include "_comments/duoshuo.html" %}
{% endif %}

{% endblock %}
