bruh i forgor i changed the api to return them in the order i want them already
This commit is contained in:
1 parent
00c38476a4
commit
5351a4a9ad
1 file changed
+1
-1
@@ -14,7 +14,7 @@
|
||||
<div class="blog-container">
|
||||
@if (articles$ | async; as articles) {
|
||||
<div>
|
||||
@for (article of articles.slice().reverse(); track article) {
|
||||
@for (article of articles.slice(); track article) {
|
||||
<div (click)="navigateToArticle(article.slug)" class="article-card">
|
||||
<h2>{{ (article.title | slice:0:45) + (article.title.length > 40 ? '...' : '')}}</h2>
|
||||
<p>{{ truncateContent(article.content, 80) }}</p>
|
||||
|
||||
Reference in new issue
Block a user