mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Merge branch 'master' of github.com:ametaireau/pelican
This commit is contained in:
commit
e5f58c9594
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ def wp2fields(xml):
|
|||
categories = [cat.contents[0] for cat in item.fetch(domain='category')]
|
||||
# caturl = [cat['nicename'] for cat in item.fetch(domain='category')]
|
||||
|
||||
tags = [tag.contents[0].title() for tag in item.fetch(domain='tag', nicename=None)]
|
||||
tags = [tag.contents[0] for tag in item.fetch(domain='post_tag')]
|
||||
|
||||
yield (title, content, filename, date, author, categories, tags, "html")
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue