only use keywords for categories
This commit is contained in:
parent
d740d6a8da
commit
0bcfa53e53
1 changed files with 0 additions and 8 deletions
|
|
@ -73,14 +73,6 @@ class ArticleRSSFeed(Feed):
|
|||
"""Return categories for the article"""
|
||||
categories = []
|
||||
|
||||
# Add related entity as category
|
||||
if item.related_service:
|
||||
categories.append(f"Service: {item.related_service.name}")
|
||||
if item.related_consulting_partner:
|
||||
categories.append(f"Partner: {item.related_consulting_partner.name}")
|
||||
if item.related_cloud_provider:
|
||||
categories.append(f"Provider: {item.related_cloud_provider.name}")
|
||||
|
||||
# Add meta keywords as categories if available
|
||||
if item.meta_keywords:
|
||||
keywords = [keyword.strip() for keyword in item.meta_keywords.split(",")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue