2024-06-20 14:10:42 +00:00
<article class="post {{ post .feather }} {{ post .pinned ? ' pinned' : '' }} " id="post_ {{ post .id }} ">
{% block content %} {% endblock %}
<footer>
{% if ( module_enabled ( "tags" ) and post .tags_link is not empty ) %}
<div role="note" class="tags">
<a href=" {{ url ( 'tags' ) }} "> {{ "Tags" | translate }} :</a> {{ post .tags_link | join ( " " ) }}
</div>
{% endif %}
{% if post .editable ( ) or post .deletable ( ) %}
<div class="doaction admin">
{{ post .edit_link ( ) }} {{ post .delete_link ( ) }}
</div>
{% endif %}
<div role="note" class="metadata">
<a href=" {{ post .url ( ) }} " rel="bookmark" title=" {{ 'Permanent link to “%s”' | translate | format ( post .title ( ) | oneof ( post .slug ) | striptags | normalize | fix ( true ) ) }} ">
{% if post .status == "draft" %}
{{ "Draft" | translate }}
{% elseif post .status == "scheduled" %}
{{ "Scheduled" | translate }}
{% elseif post .pinned %}
{{ "Pinned" | translate }}
{% else %}
{{ post .created_at | time }}
{% endif %}
</a>
{% if module_enabled ( "categorize" ) and post .category is defined %}
•
2024-09-05 17:51:48 +00:00
<a class="category category_ {{ post .category .id }} " href=" {{ post .category .url ( ) }} " rel="tag">
2024-06-20 14:10:42 +00:00
{{ post .category .name | oneof ( "[Untitled]" | translate ) }}
</a>
{% endif %}
{% if module_enabled ( "likes" ) %}
{{ post .like_link ? "• " ~ post .like_link : "" }}
{% endif %}
{% if module_enabled ( "pingable" ) and post .pingback_count is defined %}
•
<a href=" {{ post .url ( ) }} #pingbacks" rel="bookmark" title=" {{ 'View webmentions' | translate }} ">
{{ "%s webmention" | translate_plural ( "%s webmentions" , post .pingback_count ) | format ( post .pingback_count ) }}
</a>
{% endif %}
{% if module_enabled ( "comments" ) and post .comment_status is defined %}
{% if post .comment_status == "closed" %}
• {{ "Comments closed" | translate }}
{% else %}
•
<a href=" {{ post .url ( ) }} #comments" rel="bookmark" title=" {{ 'View comments' | translate }} ">
{{ "%s comment" | translate_plural ( "%s comments" , post .comment_count ) | format ( post .comment_count ) }}
</a>
{% endif %}
{% endif %}
{% if module_enabled ( "rights" ) %}
•
{% if post .rights_holder is defined and post .rights_holder is not empty %}
{{ copyright_notice ( post .rights_holder ) }}
{% else %}
{{ copyright_notice ( post .author .name , post .created_at , post .updated_at ) }}
{% endif %}
•
{{ post .licence_link }}
{% endif %}
</div>
</footer>
</article>
<hr class="post">