Change posts.js to blog.js and improve default values

This commit is contained in:
prototypa
2023-01-06 15:15:50 -05:00
parent 12c585c301
commit f1ed6df7a1
10 changed files with 31 additions and 23 deletions

View File

@ -1,7 +1,7 @@
import rss from '@astrojs/rss';
import { SITE, BLOG } from '~/config.mjs';
import { fetchPosts } from '~/utils/posts';
import { fetchPosts } from '~/utils/blog';
import { getPermalink } from '~/utils/permalinks';
export const get = async () => {