Merge branch 'main' into production

This commit is contained in:
0x1eef 2024-02-26 18:21:18 -03:00
commit 70aff92e72

View file

@ -9,7 +9,7 @@ module Mixin::OpenGraph
case context.filename
when "stream.html.erb"
{title: t(context.locale, "TheNobleQuran"),
description: t(context.locale, "meta.stream.description"),
description: t(context.locale, "meta.stream.description", surah_name: context.surah.name),
url: "https://al-quran.reflectslight.io/#{context.locale}/#{context.surah.slug}/",
image: "https://al-quran.reflectslight.io/images/opengraph/#{context.surah.id}.png"}
when "index.html.erb"