mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Card object has language now. Use it.
Also have other additional keys but later
This commit is contained in:
parent
2ebf421140
commit
4e47d679bc
1 changed files with 3 additions and 0 deletions
|
@ -1434,6 +1434,7 @@ function Card({ card, instance }) {
|
|||
url,
|
||||
type,
|
||||
embedUrl,
|
||||
language,
|
||||
} = card;
|
||||
|
||||
/* type
|
||||
|
@ -1497,6 +1498,7 @@ function Card({ card, instance }) {
|
|||
target={cardStatusURL ? null : '_blank'}
|
||||
rel="nofollow noopener noreferrer"
|
||||
class={`card link ${blurhashImage ? '' : size}`}
|
||||
lang={language}
|
||||
>
|
||||
<div class="card-image">
|
||||
<img
|
||||
|
@ -1565,6 +1567,7 @@ function Card({ card, instance }) {
|
|||
target={cardStatusURL ? null : '_blank'}
|
||||
rel="nofollow noopener noreferrer"
|
||||
class={`card link no-image`}
|
||||
lang={language}
|
||||
>
|
||||
<div class="meta-container">
|
||||
<p class="meta domain">
|
||||
|
|
Loading…
Reference in a new issue