diff --git a/aggregator.py b/aggregator.py index f0c4afc..8a19105 100644 --- a/aggregator.py +++ b/aggregator.py @@ -113,7 +113,7 @@ def create_frontmatter(entry): 'publisher': publisher, 'original_link': entry.links[0]['href'].replace('opds/cover/','books/'), 'feed_name': entry['feed_name'], - 'tags': str(tags), + 'tags': tags, 'category': "books" } else: @@ -124,7 +124,7 @@ def create_frontmatter(entry): 'author': author, 'original_link': entry.link, 'feed_name': entry['feed_name'], - 'tags': str(tags), + 'tags': tags, 'card_type': card_type, 'featured_image': featured_image } diff --git a/templates/index.template.html b/templates/index.template.html index 407a23d..564b3b0 100644 --- a/templates/index.template.html +++ b/templates/index.template.html @@ -40,9 +40,10 @@ title post - feed - date - through + tags + feed + date + through @@ -53,6 +54,7 @@ aggregated source + {% for tag in post.frontmatter.tags %}{{ tag }} {% endfor %} {{ post.frontmatter.feed_name }} {{ post.frontmatter.date }} {{ post.frontmatter.author }}