diff --git a/app/main.py b/app/main.py index df62d73..81ce131 100644 --- a/app/main.py +++ b/app/main.py @@ -296,7 +296,7 @@ async def index( models.OutboxObject.visibility == ap.VisibilityEnum.PUBLIC, models.OutboxObject.is_deleted.is_(False), models.OutboxObject.is_hidden_from_homepage.is_(False), - models.OutboxObject.ap_type != "Article", + models.OutboxObject.ap_type.in_(["Announce", "Note", "Video", "Question"]), ) q = select(models.OutboxObject).where(*where) total_count = await db_session.scalar( diff --git a/app/templates/index.html b/app/templates/index.html index f612102..5f5f4a7 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -26,7 +26,7 @@