Browse Source

Fixed basic template to get the right tag representation. (Issue #53)

main
Lakshmi Vyasarajan 13 years ago
parent
commit
54648364e1
2 changed files with 1 additions and 2 deletions
  1. +0
    -1
      hyde/ext/plugins/tagger.py
  2. +1
    -1
      hyde/layouts/basic/layout/tagged_posts.j2

+ 0
- 1
hyde/ext/plugins/tagger.py View File

@@ -29,7 +29,6 @@ class Tag(Expando):
self.name = name self.name = name
self.resources = [] self.resources = []



def __repr__(self): def __repr__(self):
return self.name return self.name




+ 1
- 1
hyde/layouts/basic/layout/tagged_posts.j2 View File

@@ -2,7 +2,7 @@


{% block main %} {% block main %}
<section class="archives"> <section class="archives">
<h1 class="tag title">{{ tag }}</h1>
<h1 class="tag title">{{ tag.name }}</h1>
<ul class="posts clear"> <ul class="posts clear">
{% for resource in walker() -%} {% for resource in walker() -%}
<li class="post clear"> <li class="post clear">


Loading…
Cancel
Save