2
0
Эх сурвалжийг харах

Remove unneeded image tags in templates

Thibaud Colas 1 жил өмнө
parent
commit
2304803edf

+ 0 - 1
bakerydemo/templates/base/gallery_page.html

@@ -2,7 +2,6 @@
 {% load wagtailimages_tags gallery_tags %}
 
 {% block content %}
-    {% image self.image fill-1920x600 as hero_img %}
     {% include "base/include/header-hero.html" %}
 
     <div class="container gallery__container">

+ 0 - 1
bakerydemo/templates/blog/blog_page.html

@@ -3,7 +3,6 @@
 
 {% block content %}
 
-    {% image self.image fill-1920x600 as hero_img %}
     {% include "base/include/header-blog.html" %}
 
     <div class="container">

+ 0 - 1
bakerydemo/templates/breads/bread_page.html

@@ -2,7 +2,6 @@
 {% load wagtailimages_tags %}
 
 {% block content %}
-    {% image page.image fill-1920x600 as hero_img %}
     {% include "base/include/header-hero.html" %}
 
     <div class="container bread-detail">

+ 0 - 1
bakerydemo/templates/recipes/recipe_page.html

@@ -3,7 +3,6 @@
 
 {% block content %}
 
-    {% image self.image fill-1920x600 as hero_img %}
     {% include "base/include/header-blog.html" %}
 
     <div class="container">