SEO
Meta tags
All the useful SEO tags are already present in src/app.layout.tsx
file. You can simply edit them and start using them.
Below is a code snippet of all the tags used:
The above code snippet will output the following meta tags:
Open Graph Image
The open graph image should be in your app/
directory. The specified name is opengraph-image.png
and then it automatically detects and uses the image.
You also need to use metadataBase
in the metadata
object in src/app/layout.tsx
file and set a base url. When done this way, Nextjs will automatically detect the image and use it. All the search engines or websites will be able to use the image.
The open graph image to the template is in the following figma file. You can edit it and use it if you want:
Favicon
Favicon for this template should also be in the src/app/
directory. The naming convention is naming it favicon.ico
and Nextjs will automatically use it as the favicon.
Last updated