Skip to content

Commit

Permalink
Merge pull request #3215 from Zemnmez/pr3215
Browse files Browse the repository at this point in the history
staging.zemn.me: move meta tags into <head> element.
  • Loading branch information
Zemnmez authored Jun 6, 2023
2 parents b20d59c + 6d83e16 commit 92f80b1
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions project/zemn.me/next/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import type { AppProps } from 'next/app';
import Head from 'next/head';
import { HeaderTags } from 'ts/next.js';

export function App({ Component, pageProps }: AppProps) {
return (
<>
<HeaderTags />
<Component {...pageProps} />
<meta content="@zemnmez" name="twitter:site" />
<meta content="@zemnnmez" name="twitter:creator" />
<meta content="zemnmez" name="author" />
<Head>
<meta content="@zemnmez" name="twitter:site" />
<meta content="@zemnnmez" name="twitter:creator" />
<meta content="zemnmez" name="author" />
</Head>
</>
);
}
Expand Down

0 comments on commit 92f80b1

Please sign in to comment.