Add lang & dir to trending news
This commit is contained in:
parent
58d36d2403
commit
2c4dd0cdb7
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue