ajout d'une précision
This commit is contained in:
@ -1,23 +1,29 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
export let data;
|
export let data;
|
||||||
import Info from "$lib/components/Info.svelte";
|
import Info from "$lib/components/Info.svelte";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<h1>Articles</h1>
|
<h1>Articles</h1>
|
||||||
|
|
||||||
<Info info="Dada." markdown=false />
|
<Info
|
||||||
|
info="Dans cette section seront publiés tout les articles qui ne sont pas des guides à proprement parler."
|
||||||
|
markdown="false"
|
||||||
|
/>
|
||||||
|
|
||||||
<h2>Articles publiés</h2>
|
<h2>Articles publiés</h2>
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{#each data.articles as post}
|
{#each data.articles as post}
|
||||||
<li class="px-4 pb-4 my-4 rounded-lg bg-base-300 dark:bg-base-300 hover:bg-base-200 hover:dark:bg-base-200 border-1 border-color-base-100">
|
<li
|
||||||
<h2>
|
class="px-4 pb-4 my-4 rounded-lg bg-base-300 dark:bg-base-300 hover:bg-base-200 hover:dark:bg-base-200 border-1 border-color-base-100"
|
||||||
<a href={post.path}>
|
>
|
||||||
{post.meta.title}
|
<h2>
|
||||||
</a>
|
<a href={post.path}>
|
||||||
</h2>
|
{post.meta.title}
|
||||||
<p class="pt-2">Publié le : {post.meta.date} par {post.meta.author}</p>
|
</a>
|
||||||
</li>
|
</h2>
|
||||||
{/each}
|
<p class="pt-2">Publié le : {post.meta.date} par {post.meta.author}</p>
|
||||||
|
</li>
|
||||||
|
{/each}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user