@if (isLoading()) {
}
@if (error()) {
error_outline
{{ error() }}
}
@if (!isLoading() && !error() && articles().length === 0) {
article
No articles found
Try refreshing or check your relays
}
@if (!isLoading() && !error() && articles().length > 0) {
@for (article of filteredArticles(); track article.id) {
@if (article.imageUrl) {
}
@if (!article.author.picture) {
person
}
{{ article.title }}
{{ article.author.name || 'Anonymous' }}
•
{{ article.publishedAt | ago }}
{{ article.summary }}
schedule
{{ article.readTimeMinutes }} min read
@for (tag of article.tags.slice(0, 3); track tag) {
#{{ tag }}
}
@if (article.tags.length > 3) {
+{{ article.tags.length - 3 }}
}
}
}