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"> {{ post .category .name | oneof ( "[Untitled]" | translate ) }} </a>
2024-06-20 14:10:42 +00:00
{% endif %}
{% if module_enabled ( "likes" ) %}
{{ post .like_link ? "• " ~ post .like_link : "" }}
{% 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">