{% extends "index-base.html" %} {% macro pagination() %}
{% elif item == 'TL;DR' %} | {% else %} | {% endif %} {{ item }} {% if (item != 'Tags' and item != 'TL;DR') %} {% endif %} | {% endfor %}|||||
---|---|---|---|---|---|---|---|
{{ post.title|replace('_', ' ')|title }} | {{ format_authors(post.authors)|safe }} | {% for tag_obj in post.tags %} {% set tag = tag_obj.name %} {% if loop.last %} {{ tag }} {% else %} {{ tag }}, {% endif %} {% endfor %} | {%- set tldr = post['tldr'] | safe %} {%- if tldr == None %} {%- set tldr = "(No TL;DR)" %} {%- endif %} {{ tldr | truncate(100, True) }} post. | {{ post['updated_at'].date().isoformat() }} | {{ stats['all_views'] }} | {{ stats['total_likes']}} | {{ stats['total_comments']}} |