Add lang & dir to trending news

pull/272/head
Lim Chee Aun 2023-10-23 11:12:15 +08:00
rodzic 58d36d2403
commit 2c4dd0cdb7
1 zmienionych plików z 8 dodań i 2 usunięć

Wyświetl plik

@ -230,10 +230,16 @@ function Trending({ columnMode, ...props }) {
</>
)}
</div>
{!!title && <h1 class="title">{title}</h1>}
{!!title && (
<h1 class="title" lang={language} dir="auto">
{title}
</h1>
)}
</header>
{!!description && (
<p class="description">{description}</p>
<p class="description" lang={language} dir="auto">
{description}
</p>
)}
</div>
</article>