Add different numbers of related posts in different screen sizes

This commit is contained in:
2022-04-20 19:52:54 +00:00
parent 24a39f131e
commit 16f30cbd36
3 changed files with 22 additions and 11 deletions

View File

@@ -182,7 +182,7 @@ def show(request, id=None):
"author_image": author_image,
"next": __next(post, public_only),
"previous": __previous(post, public_only),
"related_posts": related_posts[:3],
"related_posts": related_posts[:4],
"ep_agenda_link": ep_agenda_link,
"ep_protocol_link": ep_protocol_link,
"filename_agenda": filename_agenda,