Closed sylvainvivien closed 15 years ago
If a tag is renamed, index pages are not regenerated
Add content.tags to the Etag
class ListingContentGenerator(ContentGenerator): @classmethod def get_etag(cls, post): return hashlib.sha1((post.title + post.summary + str(post.tags)).encode('utf-8')).hexdigest()
Duplicate of issue 7.
If a tag is renamed, index pages are not regenerated
Add content.tags to the Etag
class ListingContentGenerator(ContentGenerator): @classmethod def get_etag(cls, post): return hashlib.sha1((post.title + post.summary + str(post.tags)).encode('utf-8')).hexdigest()