File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -359,11 +359,34 @@ <h2>CATEGORY</h2>
359359 < div class ="testimonial-item ">
360360 < a href ="{% url 'blog:category' category_slug=cat_name.name %} ">
361361 < center >
362- < img src ="" style ="width: 80% " class ="img-fluid " alt ="{{cat_name.name}} " />
362+ < img src ="{% static 'IndexHome/assets/img/{{cat_name.slug}}' %} " style ="width: 80% " class ="img-fluid " alt ="{{cat_name.name}} " />
363363 </ center >
364364 </ a >
365365 < h3 class ="cat_explore "> {{cat_name.name}}</ h3 >
366366 </ div >
367+
368+ </ div >
369+ < div class ="swiper-slide ">
370+ < div class ="testimonial-item ">
371+ < a href ="{% url 'blog:category' category_slug=cat_name.name %} ">
372+ < center >
373+ < img src ="{% static 'IndexHome/assets/img/{{cat_name.slug}}' %} " style ="width: 80% " class ="img-fluid " alt ="{{cat_name.name}} " />
374+ </ center >
375+ </ a >
376+ < h3 class ="cat_explore "> {{cat_name.name}}</ h3 >
377+ </ div >
378+
379+ </ div >
380+ < div class ="swiper-slide ">
381+ < div class ="testimonial-item ">
382+ < a href ="{% url 'blog:category' category_slug=cat_name.name %} ">
383+ < center >
384+ < img src ="{% static 'IndexHome/assets/img/{{cat_name.slug}}' %} " style ="width: 80% " class ="img-fluid " alt ="{{cat_name.name}} " />
385+ </ center >
386+ </ a >
387+ < h3 class ="cat_explore "> {{cat_name.name}}</ h3 >
388+ </ div >
389+
367390 </ div >
368391 {% endfor %}
369392 </ div >
You can’t perform that action at this time.
0 commit comments