Skip to content

Commit

Permalink
fix(whatislove-dev): fix typo in articles header wd-674 (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
what1s1ove authored Jul 6, 2024
1 parent b4aa3b8 commit b03c9dd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apps/whatislove-dev/src/layouts/article.njk
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

{% block aside %}
<aside class="articles box">
<h2 class="articles__title">Lastest Article</h2>
<h2 class="articles__title">Latest Articles</h2>
{{ articleList(items=collections.articles | reverse, className="articles__article-list", maxCount=ARTICLES_COUNT, pageUrl=page.url) }}
<a class="articles__all action button" href="/articles">View all articles</a>
</aside>
Expand Down
2 changes: 1 addition & 1 deletion apps/whatislove-dev/src/pages/404/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ stickersCount: 3

{% block aside %}
<aside class="articles box">
<h2 class="articles__title">Lastest Article</h2>
<h2 class="articles__title">Latest Articles</h2>
{{ articleList(items=collections.articles | reverse, className="articles__article-list", maxCount=ARTICLES_COUNT) }}
<a class="articles__all action button" href="/articles">View all articles</a>
</aside>
Expand Down
2 changes: 1 addition & 1 deletion apps/whatislove-dev/src/pages/index/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ stickersCount: 0
</section>
</div>
<section class="articles box">
<h2 class="articles__title">Lastest Article</h2>
<h2 class="articles__title">Latest Articles</h2>
{{ articleList(items=collections.articles | reverse, className="articles__article-list", maxCount=ARTICLES_COUNT) }}
<a class="articles__all action button" href="/articles">View all articles</a>
</section>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b03c9dd

Please sign in to comment.