implemented /bookmark/<ID>/view

This commit is contained in:
2025-08-03 15:28:49 +02:00
parent b041e4e9be
commit 783eaf3303
8 changed files with 89 additions and 21 deletions

View File

@@ -0,0 +1,18 @@
<script>
import Tags from '../tags/TagList.svelte';
let { bookmark } = $props();
</script>
{#if bookmark}
<fieldset class="bookmark">
<legend>
<a href={bookmark.url} target="_blank" class="url">{bookmark.url}</a>
</legend>
<legend class="date">
{bookmark.timestamp.replace('T',' ')}
</legend>
{@html bookmark.comment.rendered}
<Tags module="bookmark" id={bookmark.id} />
</fieldset>
{/if}