copy: rename site branding to Krishna
This commit is contained in:
@@ -32,8 +32,8 @@ const plexMono = IBM_Plex_Mono({
|
||||
})
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: { template: '%s | blog', default: 'blog' },
|
||||
description: 'A sleek static blog with code and math.',
|
||||
title: { template: '%s | Krishna', default: 'Krishna' },
|
||||
description: 'A sleek static journal with code and math.',
|
||||
}
|
||||
|
||||
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { getPosts } from '@/lib/posts'
|
||||
import { PostList } from '@/components/blog/PostList'
|
||||
import { PostList } from '@/components/posts/PostList'
|
||||
|
||||
export default async function HomePage() {
|
||||
const posts = await getPosts()
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { notFound } from 'next/navigation'
|
||||
import Link from 'next/link'
|
||||
import { getPosts, getPost, tagToSlug } from '@/lib/posts'
|
||||
import { TableOfContents } from '@/components/blog/TableOfContents'
|
||||
import { TableOfContents } from '@/components/posts/TableOfContents'
|
||||
import { ScrollToTop } from '@/components/ui/ScrollToTop'
|
||||
import { ReadingProgress } from '@/components/ui/ReadingProgress'
|
||||
|
||||
@@ -17,7 +17,7 @@ export async function generateMetadata({ params }: { params: Promise<{ slug: str
|
||||
const slug = (await params).slug
|
||||
const post = await getPost(slug)
|
||||
if (!post) return { title: 'Not Found' }
|
||||
return { title: `${post.title} | blog` }
|
||||
return { title: post.title }
|
||||
}
|
||||
|
||||
export default async function PostPage({ params }: { params: Promise<{ slug: string }> }) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { getPosts } from '@/lib/posts'
|
||||
import { PostSearch } from '@/components/blog/PostSearch'
|
||||
import { PostSearch } from '@/components/posts/PostSearch'
|
||||
|
||||
export const metadata = { title: 'Posts' }
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import type { Metadata } from 'next'
|
||||
import { notFound } from 'next/navigation'
|
||||
import { PostCard } from '@/components/blog/PostCard'
|
||||
import { PostCard } from '@/components/posts/PostCard'
|
||||
import { getAllTags, getPostsByTag } from '@/lib/posts'
|
||||
|
||||
type TagPageProps = {
|
||||
|
||||
Reference in New Issue
Block a user