Use path aliasing and improve accesibility

This commit is contained in:
Bad Manners 2024-09-14 17:51:22 -03:00
parent b464c5e795
commit dadbd32e1b
No known key found for this signature in database
GPG key ID: 8C88292CCB075609
40 changed files with 138 additions and 115 deletions

View file

@ -1,9 +1,9 @@
---
import { Image } from "astro:assets";
import { getCollection, getEntries, type CollectionEntry } from "astro:content";
import GalleryLayout from "../layouts/GalleryLayout.astro";
import UserComponent from "../components/UserComponent.astro";
import { markdownToPlaintext } from "../utils/markdown_to_plaintext";
import GalleryLayout from "@layouts/GalleryLayout.astro";
import UserComponent from "@components/UserComponent.astro";
import { markdownToPlaintext } from "@utils/markdown_to_plaintext";
type PostWithPubDate = CollectionEntry<"blog"> & { data: { pubDate: Date } };