fix: remove trailing slash
This commit is contained in:
1 parent
64a2610fa5
commit
b97ebffc08
2 files changed
+4
-4
No files matched your search
@@ -76,9 +76,11 @@
|
|||||||
{#if richURL}
|
{#if richURL}
|
||||||
<div class="flex max-w-full overflow-hidden">
|
<div class="flex max-w-full overflow-hidden">
|
||||||
{richURL.hostname}
|
{richURL.hostname}
|
||||||
|
{#if richURL.pathname != '/'}
|
||||||
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
|
<span class="text-slate-500 dark:text-zinc-500 whitespace-nowrap">
|
||||||
{richURL.pathname}
|
{richURL.pathname}
|
||||||
</span>
|
</span>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
{:else}
|
{:else}
|
||||||
{url}
|
{url}
|
||||||
|
|||||||
@@ -140,16 +140,14 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
|
<div class="flex flex-col gap-4 max-w-full w-full min-w-0">
|
||||||
<header>
|
<header class="flex flex-col gap-4 relative">
|
||||||
<Header>{$t('routes.frontpage.title')}</Header>
|
<Header>{$t('routes.frontpage.title')}</Header>
|
||||||
</header>
|
|
||||||
<div class="flex items-center gap-2">
|
<div class="flex items-center gap-2">
|
||||||
<Location changeDefault selected={data.listingType} />
|
<Location changeDefault selected={data.listingType} />
|
||||||
<Sort changeDefault selected={data.sort} />
|
<Sort changeDefault selected={data.sort} />
|
||||||
<div class="max-[420px]:hidden">
|
|
||||||
<ViewSelect />
|
<ViewSelect />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</header>
|
||||||
|
|
||||||
<svelte:component
|
<svelte:component
|
||||||
this={browser ? VirtualFeed : PostFeed}
|
this={browser ? VirtualFeed : PostFeed}
|
||||||
|
|||||||
Reference in new issue
Block a user