Refactor tu use astrowind:config virtual import

This commit is contained in:
prototypa
2024-03-29 00:49:47 -04:00
parent f6d5e6cb39
commit 6b14879507
22 changed files with 28 additions and 30 deletions

View File

@@ -2,7 +2,7 @@ import type { PaginateFunction } from 'astro';
import { getCollection } from 'astro:content';
import type { CollectionEntry } from 'astro:content';
import type { Post } from '~/types';
import { APP_BLOG } from '~/utils/config';
import { APP_BLOG } from 'astrowind:config';
import { cleanSlug, trimSlash, BLOG_BASE, POST_PERMALINK_PATTERN, CATEGORY_BASE, TAG_BASE } from './permalinks';
const generatePermalink = async ({