Convert comments to flask framework

This commit is contained in:
James Taylor
2019-07-19 22:27:10 -07:00
parent b854dab314
commit 8cad77ad0d
7 changed files with 249 additions and 320 deletions

View File

@@ -1,5 +1,6 @@
{% extends "base.html" %}
{% import "common_elements.html" as common_elements %}
{% import "comments.html" as comments %}
{% block page_title %}{{ title }}{% endblock %}
{% block style %}
main{
@@ -211,7 +212,10 @@
</table>
{% endif %}
</div>
{{ comments|safe }}
{% if comments_info %}
{{ comments.video_comments(comments_info) }}
{% endif %}
</article>