mirror of
https://github.com/JuLi0n21/homepage.git
synced 2026-04-19 23:30:06 +00:00
patch(): Patched type aliases
Changed inferred path i.e., "./", "../", "../../". into @ import path.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
---
|
||||
import { getCollection, render } from 'astro:content';
|
||||
import BlogPost from '../../../layouts/BlogPost.astro';
|
||||
import BlogPost from '@layouts/BlogPost.astro';
|
||||
|
||||
export async function getStaticPaths() {
|
||||
const posts = await getCollection('uni');
|
||||
|
||||
Reference in New Issue
Block a user