File tree 4 files changed +5
-5
lines changed
4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
- import type { Metadata } from 'next' ;
2
1
import { Suspense } from 'react' ;
2
+ import type { Metadata } from 'next' ;
3
3
import { notFound } from 'next/navigation' ;
4
4
import { unstable_noStore as noStore } from 'next/cache' ;
5
- import { getBlogPosts } from '@/app/db/blog' ;
6
5
import MarkdownRenderer from '@/components/markdown/markdown-renderer' ;
7
6
import PageHeader from '@/components/page-header' ;
7
+ import { getBlogPosts } from '@/lib/db/blog' ;
8
8
9
9
import "@/styles/blog/blog-text.css"
10
10
Original file line number Diff line number Diff line change 1
1
import Link from 'next/link' ;
2
- import { getBlogPosts } from '@/app/db/blog' ;
3
- import PageHeader from '@/components/page-header' ;
4
2
import Image from 'next/image' ;
3
+ import PageHeader from '@/components/page-header' ;
5
4
import FilterSelectBox from '@/components/blog/filter-select-box' ;
6
5
import FilterList from '@/components/blog/filter-list' ;
7
6
import MarkdownRenderer from '@/components/markdown/markdown-renderer' ;
7
+ import { getBlogPosts } from '@/lib/db/blog' ;
8
8
9
9
export const metadata = {
10
10
title : 'Blog | Hugo ChunHo Lin (1chooo) | Open Source Enthusiast' ,
Original file line number Diff line number Diff line change 2
2
* Go to https://github.com/leerob/site/blob/1129b6d81937cef493edb060f87e6f2ac9f335ed/app/sitemap.ts to see details
3
3
*/
4
4
5
- import { getBlogPosts } from '@/app /db/blog' ;
5
+ import { getBlogPosts } from '@/lib /db/blog' ;
6
6
7
7
export default async function sitemap ( ) {
8
8
let blogs = getBlogPosts ( ) . map ( ( post ) => ( {
File renamed without changes.
You can’t perform that action at this time.
0 commit comments