]> git.r.bdr.sh - rbdr/forum/blobdiff - src/lib/components/topic/topic.svelte
Don't remember what this WIP was about
[rbdr/forum] / src / lib / components / topic / topic.svelte
index 07158578d3325cda3b4f6d6e5a73e8344bfc65cd..7fb41011b5bc5c85de8597ffdb9c7d49a588d2a3 100644 (file)
                {#if topic.forum}
                        <span class="topic-location">
                                {$_('topic.category_location')}
-                               <a href="/f/{topic.forum.id}" class="p-category underline text-blue-600 visited:text-purple-500">
+                               <a
+                                       href="/f/{topic.forum.id}"
+                                       class="p-category underline text-blue-600 visited:text-purple-500"
+                               >
                                        {topic.forum.glyph}
                                        {$_(topic.forum.label)}
                                </a>.
                        </span>
                {/if}
                <span class="topic-ttl">
-                       <a class="u-url u-uid underline text-blue-600 visited:text-purple-500" title={$_('topic.permalink_title')} href="/t/{topic.id}">
+                       <a
+                               class="u-url u-uid underline text-blue-600 visited:text-purple-500"
+                               title={$_('topic.permalink_title')}
+                               href="/t/{topic.id}"
+                       >
                                ({$_('topic.remaining_time', {
                                        values: { remaining: $_(remaining.label, { values: { count: remaining.count } }) }
                                })})
                        {#each topic.tags as tag}
                                <a href="/g/{tag.tag}" class="p-category underline text-blue-600 visited:text-purple-500">
                                        {tag.tag}<span class="tag-weight">({tag.count})</span></a
-      >{' '}
+                               >{' '}
                        {/each}
                </aside>
        {/if}
        {#if topic.posts}
-    {#each topic.posts as post, index}
-      <Post {post} {index} count={topic.posts.length} />
-    {/each}
+               {#each topic.posts as post, index}
+                       <Post {post} {index} count={topic.posts.length} />
+               {/each}
        {/if}
 </div>