fix: correct h-entry tags

This commit is contained in:
dusk 2024-09-26 01:33:47 +03:00
parent 49d86fab89
commit be1751ad45
Signed by: dusk
SSH Key Fingerprint: SHA256:Abmvag+juovVufZTxyWY8KcVgrznxvBjQpJesv071Aw

View File

@ -2,6 +2,7 @@
import { PUBLIC_BASE_URL } from '$env/static/public'; import { PUBLIC_BASE_URL } from '$env/static/public';
import Window from '../../components/window.svelte'; import Window from '../../components/window.svelte';
import '../../styles/app.css'; import '../../styles/app.css';
import { page } from "$app/stores";
export let title; export let title;
export let date; export let date;
@ -23,8 +24,9 @@
<Window title="metadata"> <Window title="metadata">
<div class="prose prose-ralsei"> <div class="prose prose-ralsei">
<ul> <ul>
<link rel="author" href={PUBLIC_BASE_URL}> <link class="u-url" href="{PUBLIC_BASE_URL}{$page.url.pathname}">
<li>published on: <time class="dt-published" datetime="2024-08-11 12:00:00">{date}</time></li> <link rel="author" class="p-author h-card" href="{PUBLIC_BASE_URL}">
<li>published on: <time class="dt-published" datetime="{date} 00:00:00">{date}</time></li>
<li class="max-w-80 text-wrap">excerpt: <div class="inline p-summary">{excerpt}</div></li> <li class="max-w-80 text-wrap">excerpt: <div class="inline p-summary">{excerpt}</div></li>
</ul> </ul>
</div> </div>