Compare commits
2 commits
803abfaf97
...
64fc417a4c
Author | SHA1 | Date | |
---|---|---|---|
64fc417a4c | |||
604f9ff8f2 |
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ def ap_article(generator: pelican.ArticlesGenerator, writer: pelican.writers.Wri
|
||||||
path = os.path.join(writer.output_path, 'activitypub/tags', t.slug)
|
path = os.path.join(writer.output_path, 'activitypub/tags', t.slug)
|
||||||
articles = []
|
articles = []
|
||||||
for article in generator.articles:
|
for article in generator.articles:
|
||||||
if t.name not in article.metadata.get('tags', []):
|
if t.name not in article.metadata['tags']:
|
||||||
continue
|
continue
|
||||||
articles.append(
|
articles.append(
|
||||||
os.path.join(generator.settings['SITEURL'], 'activitypub/posts', article.slug)
|
os.path.join(generator.settings['SITEURL'], 'activitypub/posts', article.slug)
|
||||||
|
|
Loading…
Reference in a new issue