mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Remove else: return
This commit is contained in:
parent
2b933faaf2
commit
9ef8df9a19
1 changed files with 0 additions and 3 deletions
|
|
@ -47,8 +47,5 @@ def add_related_posts(generator, metadata):
|
|||
|
||||
metadata["related_posts"] = ranked_related[:5]
|
||||
|
||||
else:
|
||||
return
|
||||
|
||||
def register():
|
||||
signals.article_generate_context.connect(add_related_posts)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue