bruh i forgor i changed the api to return them in the order i want them already

This commit is contained in:
itzMiney committed 2026-03-19 22:39:36 +01:00
1 parent 00c38476a4
commit 5351a4a9ad
1 file changed
+1 -1
+1 -1
View File
@@ -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>