Skip to content

Commit 5f83c41

Browse files
committed
feat(e2e): 네이버 웹마스터 인증 및 SEO 개선
1 parent eda83fe commit 5f83c41

3 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/e2e-reusable.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ on:
1616
jobs:
1717
i:
1818
timeout-minutes: 60
19-
runs-on: ${{ inputs.screen-snapshot && 'macos-latest' || 'ubuntu-latest' }}
19+
runs-on: macos-latest
2020
env:
2121
TZ: Asia/Seoul
2222

src/app/layout.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,11 @@ export default function RootLayout({
4444

4545
export const metadata: Metadata = {
4646
metadataBase: new URL(MyProfile.blog.href),
47+
verification: {
48+
other: {
49+
'naver-site-verification': 'bcdb5cf57aa9c7e527e4f53872d80218e957e9a6',
50+
},
51+
},
4752
authors: [{ name: '1ilsang' }],
4853
keywords: MetaKeywords.HOME,
4954
title: MetaTitle.HOME,

src/app/posts/[slug]/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import { type Metadata, type NextPage } from 'next';
22
import { MyProfile } from '~/about/headline/data/profile';
3+
import { MetaTitle } from '~/shared/constants/blog';
34

45
import { PostContainer } from '~/post/Container';
56
import type { PostType } from '~/posts/models';
@@ -93,6 +94,8 @@ export async function generateMetadata({
9394
openGraph: {
9495
title,
9596
description,
97+
siteName: MetaTitle.HOME,
98+
locale: 'ko_KR',
9699
url: `${href}/posts/${slug}`,
97100
images: [{ url: `${href}${coverImage}`, alt: 'cover' }],
98101
type: 'article',

0 commit comments

Comments
 (0)