misuzu/templates/news/post.twig
flashwave 7353553de7 Rewrote the comments system. (#1)
old one basically bitrotted to death, may it rinse in prosciutto

Reviewed-on: #1
Co-authored-by: flashwave <me@flash.moe>
Co-committed-by: flashwave <me@flash.moe>
2025-02-20 02:19:32 +00:00

16 lines
649 B
Twig

{% extends 'news/master.twig' %}
{% from 'macros.twig' import container_title %}
{% from 'news/macros.twig' import news_post %}
{% set title = post_info.title ~ ' :: News' %}
{% set canonical_url = url('news-post', {'post': post_info.id}) %}
{% set manage_link = url('manage-news-post', {'post': post_info.id}) %}
{% block content %}
{{ news_post(post_info, post_category_info, post_user_info, post_user_colour) }}
<div class="container">
{{ container_title('<i class="fas fa-comments fa-fw"></i> Comments') }}
<div class="js-comments" data-category="{{ post_info.commentsCategoryName }}"></div>
</div>
{% endblock %}