diff --git a/templates/news.html b/templates/news.html new file mode 100644 index 0000000..743a9ff --- /dev/null +++ b/templates/news.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} +{% import "/components/header.html" as header %} +{% import "articles.html" as articles %} +{% import "/components/footer.html" as footer %} + +{% block title %}Новости{% endblock %} + +{% block head %} +{{ header.style() }} +{{ articles.style() }} +{{ footer.style() }} +{% endblock %} + +{% block content %} +{{ header.section(user) }} +{{ articles.section(news) }} +{{ footer.section(user) }} +{% endblock %}