From 5cf141fa4a3ed5a0b55087b21cfb70725ff98a3e Mon Sep 17 00:00:00 2001 From: Peter Meier Date: Mon, 4 May 2026 11:29:00 +0200 Subject: [PATCH] chore(blog-overview): apply prettier formatting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit No behavior change — IDE auto-format pass. Co-Authored-By: Claude Opus 4.7 --- src/lib/components/BlogOverview.svelte | 616 +++++++++++++------------ 1 file changed, 331 insertions(+), 285 deletions(-) diff --git a/src/lib/components/BlogOverview.svelte b/src/lib/components/BlogOverview.svelte index 8fe7868..a98a6ec 100644 --- a/src/lib/components/BlogOverview.svelte +++ b/src/lib/components/BlogOverview.svelte @@ -1,306 +1,352 @@
- {#if searchIndex} -
- - {#if availableYears.length > 0} - - {/if} -
- {/if} - - {#if !isFiltering && upcomingEvents.length > 0} -
-

- - {t(T.blog_upcoming_events)} -

- -
- {/if} - - {#if isFiltering} -
- - {t(T.blog_results_count, { count: filteredResults.length })} - {#if query}{t(T.blog_results_for, { query })}{/if} - {#if year}{t(T.blog_results_in_year, { year })}{/if} - - -
- {#if filteredResults.length > 0} -
- {#each filteredResults as hit} - - {#if hit.image} -
- {hit.headline} -
+ {#if searchIndex} +
+ {:else} +
+ {t(T.blog_no_results)} +
+ {/if} {:else} -
- {t(T.blog_no_results)} -
- {/if} - {:else} - {#if tags.length > 0} -
- - {/if} - - -
- {#each posts as post} - - {/each} -
- -
- -
-
-
- {#if totalCount > 0} - {t(T.blog_count, { - visible: posts.length, - total: totalCount, - current: currentPage, - totalPages, - })} - {:else} - {t(T.blog_count, { - visible: 0, - total: 0, - current: currentPage, - totalPages, - })} - {/if} +
+ +
+
+
+ {#if totalCount > 0} + {t(T.blog_count, { + visible: posts.length, + total: totalCount, + current: currentPage, + totalPages, + })} + {:else} + {t(T.blog_count, { + visible: 0, + total: 0, + current: currentPage, + totalPages, + })} + {/if} +
+
-
-
- - {/if} + + {/if}