Add lang & dir to trending news

This commit is contained in:
Lim Chee Aun 2023-10-23 11:12:15 +08:00
parent 58d36d2403
commit 2c4dd0cdb7

View file

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