From b5db22e76677a85055d2f9b22214e9eeea876071 Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Fri, 7 May 2021 08:02:36 +0300 Subject: remove comments prettify html --- wqflask/wqflask/templates/blogs.html | 16 +------ wqflask/wqflask/templates/blogs_list.html | 73 ++++++++++++++----------------- 2 files changed, 34 insertions(+), 55 deletions(-) diff --git a/wqflask/wqflask/templates/blogs.html b/wqflask/wqflask/templates/blogs.html index c3d42e13..314eb733 100644 --- a/wqflask/wqflask/templates/blogs.html +++ b/wqflask/wqflask/templates/blogs.html @@ -1,24 +1,12 @@ {% extends "base.html" %} - {% block title %}Blogs {% endblock %} - {% block css %} {% endblock %} - {% block content %} - -
- +
- {{ rendered_markdown|safe }} - + {{ rendered_markdown|safe }}
- {% endblock %} \ No newline at end of file diff --git a/wqflask/wqflask/templates/blogs_list.html b/wqflask/wqflask/templates/blogs_list.html index e9255114..6bad4628 100644 --- a/wqflask/wqflask/templates/blogs_list.html +++ b/wqflask/wqflask/templates/blogs_list.html @@ -1,61 +1,52 @@ {% extends "base.html" %} - {% block title %}Blogs {% endblock %} - {% block css %} - - {% endblock %} - {% block content %} -
-
- {% for year, year_blogs in blogs.items() %} -

{{year}}

- {%for blog in year_blogs%} +
+ {% for year, year_blogs in blogs.items() %} +
+

{{year}}

+
+ {%for blog in year_blogs%}
-
- - +
+ +
+ {% endfor %} + {%endfor%}
- {% endfor %} - - {%endfor%} -
- -
- {% endblock %} \ No newline at end of file -- cgit v1.2.3