--- import { getCollection } from "astro:content"; import Layout from "@layouts/Layout.astro"; import Header from "@components/Header.astro"; import Footer from "@components/Footer.astro"; import LinkButton from "@components/LinkButton.astro"; import Hr from "@components/Hr.astro"; import Card from "@components/Card"; import Socials from "@components/Socials.astro"; import getSortedPosts from "@utils/getSortedPosts"; import { SITE, SOCIALS } from "@config"; const posts = await getCollection("blog"); const sortedPosts = getSortedPosts(posts); const featuredPosts = sortedPosts.filter(({ data }) => data.featured); const recentPosts = sortedPosts.filter(({ data }) => !data.featured); const socialCount = SOCIALS.filter(social => social.active).length; ---

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 socialCount > 0 && ( ) }

{ featuredPosts.length > 0 && ( <> {recentPosts.length > 0 &&
} ) } { recentPosts.length > 0 && (

Recent Posts

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