From a1662e2f82eececaf119fc475b5df81061314ecb Mon Sep 17 00:00:00 2001 From: Baishakhi Chakraborty Date: Tue, 22 Dec 2020 17:08:12 +0530 Subject: [PATCH] added a trending section --- dscblog/pages/index.html | 170 ++++++++++++++++++++++++++++++++++++++- 1 file changed, 169 insertions(+), 1 deletion(-) diff --git a/dscblog/pages/index.html b/dscblog/pages/index.html index 3d6a806..50555eb 100644 --- a/dscblog/pages/index.html +++ b/dscblog/pages/index.html @@ -22,6 +22,174 @@

{% endif %} +{% if not request.user.is_authenticated %} +
+

Unleash your creativity
with DSC IEM

+
Read and share ideas from independent voices, world-class
publications, and experts from around the globe. Everyone's
welcome.
+ Log In +
+{% endif %} +
+
+
+ + + +
+ TRENDING +
+ + +
+ {% for each in trending %} +
+
+ +
+
+
+
+ +
+
+ {{each.author.name}} +
+
+ {{each.title}} +
+
+
+
+{% endfor %} + +
+

+
+
+ TOPICS FOR YOU +
+
+ #webdev + +
+
+
+
+ Baishakhi +
+
+ This is the description +
+
+
+
+
+ Baishakhi +
+
+ This is the description +
+
+
+
+
+ NEW ARRIVALS +
+
+
+
+
+
+
+
+ Baishakhi +
+
+ This is a blog description +
+
+
+
+
+
+ + +
+
+
+
+
+ + +
{% include "blocks/blogsGrid.html" with items=blogs.feed %}
@@ -33,4 +201,4 @@
{% endfor %} -{% endblock %} \ No newline at end of file +{% endblock %} \ No newline at end of file