Explorar o código

Merge branch 'master' of github.com:wagtail/bakerydemo

Edd Baldry %!s(int64=8) %!d(string=hai) anos
pai
achega
d552e462ae
Modificáronse 1 ficheiros con 5 adicións e 1 borrados
  1. 5 1
      bakerydemo/templates/blog/blog_page.html

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

@@ -23,8 +23,12 @@
             {% if page.introduction %}
                 <p class="intro">{{ page.introduction }}</p>
             {% endif %}
-            
+
             {{ page.body }}
+
+            {% for tag in page.get_tags  %}
+                <a href="{{ tag.url }}">{{ tag }}</a>
+            {% endfor %}
         </div>
     </div>
 </div>