Skip to content

Commit

Permalink
fix: tags iteration (#55)
Browse files Browse the repository at this point in the history
* fix: tags iteration

Somehow not working on GitHub, but working locally :|

* fix: silly iterator issue

---------

Co-authored-by: Andrey <[email protected]>
  • Loading branch information
codenomnom and codenomnom authored Oct 13, 2024
1 parent d180a86 commit 58ece7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/tags/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const tags = await getPostsGroupedByTags();
<h1>all tags</h1>
<ul>
{
tags.entries().map(([tag, posts]) => (
Array.from(tags).map(([tag, posts]) => (
<li>
&mdash; <a href={`/tags/${tag}`}>{tag}</a> ({posts.length} posts)
</li>
Expand Down

0 comments on commit 58ece7a

Please sign in to comment.