mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-28 20:28:52 +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>
|
||||
{!!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>
|
||||
|
|
Loading…
Reference in a new issue