From 54648364e1be886b4dbf963ed63196263a4c94c3 Mon Sep 17 00:00:00 2001 From: Lakshmi Vyasarajan Date: Mon, 20 Jun 2011 13:55:59 +0530 Subject: [PATCH] Fixed basic template to get the right tag representation. (Issue #53) --- hyde/ext/plugins/tagger.py | 1 - hyde/layouts/basic/layout/tagged_posts.j2 | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hyde/ext/plugins/tagger.py b/hyde/ext/plugins/tagger.py index 790344f..6dc54b9 100644 --- a/hyde/ext/plugins/tagger.py +++ b/hyde/ext/plugins/tagger.py @@ -29,7 +29,6 @@ class Tag(Expando): self.name = name self.resources = [] - def __repr__(self): return self.name diff --git a/hyde/layouts/basic/layout/tagged_posts.j2 b/hyde/layouts/basic/layout/tagged_posts.j2 index 530d6f1..23e5f07 100644 --- a/hyde/layouts/basic/layout/tagged_posts.j2 +++ b/hyde/layouts/basic/layout/tagged_posts.j2 @@ -2,7 +2,7 @@ {% block main %}
-

{{ tag }}

+

{{ tag.name }}