fix some issues

This commit is contained in:
2023-12-23 00:01:02 +01:00
parent 6e2374e528
commit d9070b6ef2
3 changed files with 5 additions and 4 deletions

View File

@ -38,7 +38,7 @@
? 'flex' ? 'flex'
: 'hidden'}" : 'hidden'}"
> >
<a href="evenements/" class="text-gray-100 hover:text-orange-300 flex md:hidden" >Évènements</a> <a href="evenements" class="text-gray-100 hover:text-orange-300 flex md:hidden" >Évènements</a>
<a href="membres" class="text-gray-100 hover:text-orange-300 flex md:hidden">Membres</a> <a href="membres" class="text-gray-100 hover:text-orange-300 flex md:hidden">Membres</a>
<a href="outils" class="text-gray-100 hover:text-orange-300 flex md:hidden">Outils</a> <a href="outils" class="text-gray-100 hover:text-orange-300 flex md:hidden">Outils</a>
<a href="guides" class="text-gray-100 hover:text-orange-300 flex md:hidden">Guides</a> <a href="guides" class="text-gray-100 hover:text-orange-300 flex md:hidden">Guides</a>
@ -79,7 +79,6 @@
<li class="text-xl"> <li class="text-xl">
<a class="text-white hover:text-orange-300" href="guides">Guides</a> <a class="text-white hover:text-orange-300" href="guides">Guides</a>
</li> </li>
<li class="text-xl"> <li class="text-xl">
<a class="text-white hover:text-orange-300" href="reseaux">Réseaux</a> <a class="text-white hover:text-orange-300" href="reseaux">Réseaux</a>
</li> </li>

View File

@ -2,7 +2,9 @@
export let data; export let data;
</script> </script>
<h1>Blog</h1> <h1>Articles</h1>
<p>Pour proposer un article, référez-vous à l'article <a href="/guides/propose:-un-article">Proposer un article</a>. Nous acceptons toutes les collaborations.</p>
<ul> <ul>
{#each data.guides as post} {#each data.guides as post}

View File

@ -1,6 +1,6 @@
export async function load({ params }) { export async function load({ params }) {
const post = await import(`../${params.slug}.md`); const post = await import(`../${params.slug}.md`);
const { title, date, author} = post.metadata; const { title, date, author } = post.metadata;
const content = post.default; const content = post.default;
return { return {
content, content,