use extruct for opengraph/json-ld/microdata of articles

This commit is contained in:
Jason
2020-11-03 10:31:36 +00:00
parent 736cdc8576
commit b759f46582
4 changed files with 35 additions and 16 deletions
+2 -2
View File
@@ -38,11 +38,11 @@ def list():
feed += [(x, 'substack') for x in substack.top.feed()[:settings.NUM_SUBSTACK]]
for key, publication in substacks.items():
count = settings.SUBSTACK[key].count
count = settings.SUBSTACK[key]['count']
feed += [(x, key) for x in publication.feed()[:count]]
for key, sites in sitemaps.items():
count = settings.SITEMAP[key].count
count = settings.SITEMAP[key]['count']
feed += [(x, key) for x in sites.feed()[:count]]