``` --- export const prerender = true; import { getCollection } from "astro:content"; import Layout from "@/layouts/Layout.astro"; import Header from "@/components/Header.astro"; import Footer from "@/components/Footer.astro"; import Socials from "@/components/Socials.astro"; import LinkButton from "@/components/LinkButton.astro"; import Card from "@/components/Card.astro"; import getSortedPosts from "@/utils/getSortedPosts"; import IconRss from "@/assets/icons/IconRss.svg"; import IconArrowRight from "@/assets/icons/IconArrowRight.svg"; import { SITE } from "@/config"; import { SOCIALS } from "@/constants"; const posts = await getCollection("blog"); const sortedPosts = getSortedPosts(posts); const featuredPosts = sortedPosts.filter(({ data }) => data.featured); const recentPosts = sortedPosts.filter(({ data }) => !data.featured); ---

Mingalaba

RSS Feed

AstroPaper is a minimal, responsive, accessible and SEO-friendly Astro blog theme. This theme follows best practices and provides accessibility out of the box. Light and dark mode are supported by default. Moreover, additional color schemes can also be configured.

Read the blog posts or check README for more info.

{ // only display if at least one social link is enabled SOCIALS.length > 0 && (
Social Links:
) }
{ featuredPosts.length > 0 && ( ) } { recentPosts.length > 0 && (

Recent Posts

    {recentPosts.map( (data, index) => index < SITE.postPerIndex && )}
) }
All Posts