瀏覽代碼

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

Edd Baldry 8 年之前
父節點
當前提交
d552e462ae
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. 5 1
      bakerydemo/templates/blog/blog_page.html

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

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