mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Support tags on feeds
This commit is contained in:
parent
a8ac5c6268
commit
8fd1c50086
1 changed files with 1 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ class Generator(object):
|
||||||
title=element.title,
|
title=element.title,
|
||||||
link= "%s/%s" % (site_url, element.url),
|
link= "%s/%s" % (site_url, element.url),
|
||||||
description=element.content,
|
description=element.content,
|
||||||
|
categories=element.tags,
|
||||||
author_name=getattr(element, 'author', 'John Doe'),
|
author_name=getattr(element, 'author', 'John Doe'),
|
||||||
pubdate=element.date)
|
pubdate=element.date)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue