diff --git a/templates/articles.html b/templates/articles.html new file mode 100644 index 0000000..c6ee6e0 --- /dev/null +++ b/templates/articles.html @@ -0,0 +1,96 @@ +{% macro section(news) -%} +
+

НОВОСТИ

+
+ {% for article in news %} + + + +
+
+ + + {{ article.title }} + +
+
+
+

{{article.title}}

+
+
+

{{ article.short_description }}

+
+ +

{{ (article._id.generation_time.strftime('%d.%m.%Y')) if article._id else '' }}

+
+
+
+ {% endfor %} +
+
+{%- endmacro %} + +{% macro style() -%} + +{%- endmacro %} \ No newline at end of file