Blog post published ates.
parent
22d2f45c1c
commit
3d0ae080bf
|
@ -4,7 +4,4 @@
|
||||||
|
|
||||||
{% block aside %}{% endblock %}
|
{% block aside %}{% endblock %}
|
||||||
{% block author %}{% endblock %}
|
{% block author %}{% endblock %}
|
||||||
{% block created %}
|
|
||||||
<li class="created" title="{{ snipt.publish_date|date:"Y-m-d\TH:i:s" }}">{{ snipt.publish_date|naturaltime }}</li>
|
|
||||||
{% endblock %}
|
|
||||||
{% block lexer %}{% endblock %}
|
{% block lexer %}{% endblock %}
|
||||||
|
|
|
@ -84,9 +84,11 @@
|
||||||
<a href="{{ snipt.user.get_absolute_url }}">{{ snipt.user.username }}</a>
|
<a href="{{ snipt.user.get_absolute_url }}">{{ snipt.user.username }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block created %}
|
{% if snipt.blog_post %}
|
||||||
|
<li class="created" title="{{ snipt.publish_date|date:"Y-m-d\TH:i:s" }}">{{ snipt.publish_date|naturaltime }}</li>
|
||||||
|
{% else %}
|
||||||
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
|
<li class="created" title="{{ snipt.created|date:"Y-m-d\TH:i:s" }}">{{ snipt.created|naturaltime }}</li>
|
||||||
{% endblock %}
|
{% endif %}
|
||||||
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
|
<li class="comments"><a href="{{ snipt.get_full_absolute_url }}#disqus_thread" data-disqus-identifier="{{ snipt.pk }}"></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in New Issue