master
kek7198 2021-12-01 15:52:37 -06:00
parent 9d4d637068
commit 0ac61bc3d4
1 changed files with 3 additions and 1 deletions

View File

@ -14,13 +14,15 @@
</li> </li>
{% endif %} {% endif %}
{% if '/post/' not in request.full_path %}
<li> <li>
<a {% if v %}href="{{p.permalink}}"{% else %}href="/logged_out{{p.permalink}}"{% endif %} class="text-gray-500 hover:text-gray-400"> <a {% if v %}href="{{p.permalink}}"{% else %}href="/logged_out{{p.permalink}}"{% endif %} class="text-gray-500 hover:text-gray-400">
<i class="fas fa-comment-dots fa-fw mr-2"></i>{{ p.comment_count }} comment{{ '' if p.comment_count == 1 else 's' }} <i class="fas fa-comment-dots fa-fw mr-2"></i>{{ p.comment_count }} comment{{ '' if p.comment_count == 1 else 's' }}
<span class="text-info hidden new-comments"></span> <span class="text-info hidden new-comments"></span>
</a> </a>
</li> </li>
{% endif %}
<li> <li>
<span> <span>
<i class="fas fa-eye fa-fw mr-2"></i>{{ p.views }} <i class="fas fa-eye fa-fw mr-2"></i>{{ p.views }}