From a8d0b3f9ae22f9f1daefe40d5a663d111df8d2e5 Mon Sep 17 00:00:00 2001 From: Matt Jankowski Date: Wed, 27 Aug 2025 15:24:06 -0400 Subject: [PATCH] Description is also only used by status --- app/views/statuses/_og_description.html.haml | 2 +- app/views/statuses/show.html.haml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/statuses/_og_description.html.haml b/app/views/statuses/_og_description.html.haml index a7b18424d28..56aacbe9861 100644 --- a/app/views/statuses/_og_description.html.haml +++ b/app/views/statuses/_og_description.html.haml @@ -1,4 +1,4 @@ -- description = status_description(activity) +-# locals(description:) %meta{ name: 'description', content: description }/ = opengraph 'og:description', description diff --git a/app/views/statuses/show.html.haml b/app/views/statuses/show.html.haml index 679ce79da64..275931ec3f7 100644 --- a/app/views/statuses/show.html.haml +++ b/app/views/statuses/show.html.haml @@ -16,7 +16,7 @@ = opengraph 'og:locale', @status.language = opengraph 'profile:username', acct(@account)[1..] - = render 'og_description', activity: @status + = render 'og_description', description: status_description(@status) = render 'og_image', status: @status, account: @account = render 'shared/web_app'