Skip to content

Commit d14bc44

Browse files
authored
docs: fix invalid ```txt language (#11638)
Fixes error when importing docs to website. `text` is a valid language, `txt` is not.
1 parent 9c53a62 commit d14bc44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/admin/metadata.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,13 +150,13 @@ To customize the Robots Config, use the `admin.meta.robots` property in your Pay
150150

151151
For a full list of all available Robots options, see the [Next.js documentation](https://nextjs.org/docs/app/api-reference/functions/generate-metadata#robots).
152152

153-
##### Prevent Crawling
153+
##### Prevent Crawling
154154

155155
While setting meta tags via `admin.meta.robots` can prevent search engines from _indexing_ web pages, it does not prevent them from being _crawled_.
156156

157157
To prevent your pages from being crawled altogether, add a `robots.txt` file to your root directory.
158158

159-
```txt
159+
```text
160160
User-agent: *
161161
Disallow: /admin/
162162
```

0 commit comments

Comments
 (0)