Fix invalid ERB in featured author link. (#6428) [deploy]
This commit is contained in:
parent
12803fb179
commit
f875f9b4b2
2 changed files with 6 additions and 6 deletions
|
|
@ -67,14 +67,14 @@ export const FeaturedArticle = ({
|
|||
/>
|
||||
</a>
|
||||
<div className="featured-user-name">
|
||||
<a href="/<%= article.cached_user.username %>">
|
||||
<a href={`/${article.user.username}`}>
|
||||
{article.user.name} ・{' '}
|
||||
<time dateTime={article.published_timestamp}>
|
||||
{article.readable_publish_date}
|
||||
</time>
|
||||
<span
|
||||
className="time-ago-indicator-initial-placeholder"
|
||||
data-seconds="<%= article.published_at_int %>"
|
||||
data-seconds={`${article.published_at_int}`}
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ exports[`<FeaturedArticle /> component should render a bookmarked featured artic
|
|||
class="featured-user-name"
|
||||
>
|
||||
<a
|
||||
href="/<%= article.cached_user.username %>"
|
||||
href="/Emil99"
|
||||
>
|
||||
Stella Macejkovic ・
|
||||
<time
|
||||
|
|
@ -74,7 +74,7 @@ exports[`<FeaturedArticle /> component should render a bookmarked featured artic
|
|||
</time>
|
||||
<span
|
||||
class="time-ago-indicator-initial-placeholder"
|
||||
data-seconds="<%= article.published_at_int %>"
|
||||
data-seconds="1582037964819"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -234,7 +234,7 @@ exports[`<FeaturedArticle /> component should render a standard article 1`] = `
|
|||
class="featured-user-name"
|
||||
>
|
||||
<a
|
||||
href="/<%= article.cached_user.username %>"
|
||||
href="/Emil99"
|
||||
>
|
||||
Stella Macejkovic ・
|
||||
<time
|
||||
|
|
@ -244,7 +244,7 @@ exports[`<FeaturedArticle /> component should render a standard article 1`] = `
|
|||
</time>
|
||||
<span
|
||||
class="time-ago-indicator-initial-placeholder"
|
||||
data-seconds="<%= article.published_at_int %>"
|
||||
data-seconds="1582037964819"
|
||||
/>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue