6 import { _ } from 'svelte-i18n';
7 import Glyph from '$/components/glyph/glyph.svelte';
9 const timestampToISO = (timestamp) => (new Date(timestamp)).toISOString();
11 <aside class="post-meta" title="{$_('post.metadata_title', { values: { count: index + 1, total: count } })}">
12 <Glyph uuid={post.author.id} />
14 {$_('post.author_credit')} <a href="/a/{post.author.handle}" class="p-nickname u-url">{post.author.handle}</a>.
16 <time role="presentation" class="dt-published" datetime="{timestampToISO(post.created_at)}">
17 <a title="{$_('post.permalink_title')}" href="/p/{post.id}">
18 {timestampToISO(post.created_at)}
23 ({$_('post.topic_location')} <a href="/t/{post.topic.id}">{post.topic.title}</a>.)
27 <article class="e-content" title="{$_('post.title', { values: { count: index + 1, total: count, author: post.author.handle } })}">