diff --git a/postrify-frontend/src/app/components/home/home.component.ts b/postrify-frontend/src/app/components/home/home.component.ts index 4a7c3ca..15c6148 100644 --- a/postrify-frontend/src/app/components/home/home.component.ts +++ b/postrify-frontend/src/app/components/home/home.component.ts @@ -12,27 +12,29 @@ import { Page } from '../../models/page.model'; imports: [CommonModule], template: `
-
- @for (post of posts; track post.id) { -
-

{{ post.title }}

-

- {{ post.content | slice: 0 : 100 - }}{{ post.content.length > 100 ? '...' : '' }} -

-