Selaa lähdekoodia

Consistent use of page.foo rather than self.foo on breadpage. Workson #57

Edd Baldry 8 vuotta sitten
vanhempi
commit
f80b4a443c
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 2 2
      bakerydemo/templates/breads/bread_page.html

+ 2 - 2
bakerydemo/templates/breads/bread_page.html

@@ -10,7 +10,7 @@
                     <h1>{{ page.title }}</h1>
                     
                     <figure class="hidden-md-up">
-                        {% image self.image width-500 %}
+                        {% image page.image width-500 %}
                     </figure>
                     
                     {% if page.introduction %}
@@ -26,7 +26,7 @@
             <div class="col-md-5 col-md-offset-1">
                 <div class="row">
                     <figure class="hidden-md-down">
-                        {% image self.image width-500 %}
+                        {% image page.image width-500 %}
                     </figure>
                     <ul class="bread-meta">
                         {% if page.origin %}