feat: etiketak kentzen ditu blog post batetik

This commit is contained in:
2025-11-03 18:44:17 +01:00
parent ab155579cd
commit 0cd660f3f3

View File

@@ -1,14 +1,9 @@
--- ---
import { getCollection } from "astro:content";
import BaseHead from "../components/BaseHead.astro"; import BaseHead from "../components/BaseHead.astro";
import Header from "../components/Header.astro"; import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro"; import Footer from "../components/Footer.astro";
import ColorScript from "../components/ColorScript.astro"; import ColorScript from "../components/ColorScript.astro";
import Tags from "../components/Tags.astro"; import Tags from "../components/Tags.astro";
import getTags from "../scripts/getTags";
const posts = await getCollection("posts");
const allTags = getTags(posts);
let { let {
content: { title, description, added, updated, tags, heroImage }, content: { title, description, added, updated, tags, heroImage },
@@ -56,7 +51,6 @@ if (updated) {
</div> </div>
</article> </article>
</main> </main>
<Tags tags={allTags} all />
<Footer /> <Footer />
<ColorScript /> <ColorScript />
</body> </body>