mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 19:41:02 +08:00
docs: update README for google-site-verification tag
This commit is contained in:
@@ -99,11 +99,13 @@ npm create astro@latest -- --template satnaing/astro-paper
|
|||||||
yarn create astro --template satnaing/astro-paper
|
yarn create astro --template satnaing/astro-paper
|
||||||
```
|
```
|
||||||
|
|
||||||
Don't forget to remove Google site varification.
|
## Google Site Verification (optional)
|
||||||
|
|
||||||
|
You can easily add your [Google Site Verification HTML tag](https://support.google.com/webmasters/answer/9008080#meta_tag_verification&zippy=%2Chtml-tag) in AstroPaper using environment variable. This step is optional. If you don't add the following env variable, the google-site-verification tag won't appear in the html `<head>` section.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# in your project directory
|
# in your environment variable file (.env)
|
||||||
rm -rf public/googlebbcd930f1ecacd3a.html
|
PUBLIC_GOOGLE_SITE_VERIFICATION=your-google-site-verification-value
|
||||||
```
|
```
|
||||||
|
|
||||||
## 🧞 Commands
|
## 🧞 Commands
|
||||||
|
|||||||
Reference in New Issue
Block a user