--- import type { CollectionEntry } from "astro:content"; import PostPreview from "@/components/blog/PostPreview.astro"; import SocialList from "@/components/SocialList.astro"; import { getAllPosts } from "@/data/post"; import PageLayout from "@/layouts/Base.astro"; import { collectionDateSort } from "@/utils/date"; // Get all posts const allPosts = await getAllPosts(); // Posts section - exclude archived and microblog const MAX_POSTS = 10; const regularPosts = allPosts.filter( (post) => !post.data.tags.includes("archived") && !post.data.tags.includes("microblog"), ); const allPostsByDate = regularPosts .sort(collectionDateSort) .slice(0, MAX_POSTS) as CollectionEntry<"post">[]; // Microblog posts section - only posts with microblog tag const MAX_MICROBLOG = 5; const allMicroblogPosts = allPosts.filter((post) => post.data.tags.includes("microblog")); const latestMicroblog = allMicroblogPosts.sort(collectionDateSort).slice(0, MAX_MICROBLOG); ---

Welcome!

I'm Dawid - DevOps engineer, web developer, and full-time vanlifer. With over a decade of experience in cloud technologies and automation, I share insights from life on the road, tech tutorials, and digital nomad know-how.

Follow along for practical tips on DevOps, web development, and remote work in motion.

Posts

{ latestMicroblog.length > 0 && (

Microblog

) }