mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-29 04:38:55 +03:00
Add lang & dir to trending news
This commit is contained in:
parent
58d36d2403
commit
2c4dd0cdb7
1 changed files with 8 additions and 2 deletions
|
@ -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