Change many lines
This commit is contained in:
@ -1,8 +1,14 @@
|
||||
<script>
|
||||
import { str, strf } from '$lib/data/language.js';
|
||||
|
||||
import Header from '$lib/components/Header.svelte';
|
||||
import Gallery from '$lib/components/Gallery.svelte';
|
||||
|
||||
/** @type {import('./$types').PageData} */
|
||||
export let data;
|
||||
|
||||
const uriBase = `/s/apitest.php?slug=${data.slug}` + (data.timestamp ? `×tamp=${data.timestamp}` : '');
|
||||
</script>
|
||||
|
||||
<h1>{data.title}</h1>
|
||||
<div>{@html data.content}</div>
|
||||
<img src={data.image} alt={data.title} />
|
||||
<Header title={$strf(data.slug)}/>
|
||||
<Gallery items={$album.items} base={uriBase} />
|
||||
|
||||
Reference in New Issue
Block a user