Skip to content

Commit

Permalink
feat(seo): Parametrize HTML meta tag "robots" (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
pswies authored Oct 29, 2024
1 parent cbc134d commit 13bfb46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ Set environment variables via `.env`.
- `SMARTBANNER_APP_NAME`, `SMARTBANNER_ORG_NAME`, `SMARTBANNER_ICON_URL`, `SMARTBANNER_APPSTORE_URL` (optional): Used for enabling the smart app banner; used with `pnpm run build:inject-smartbanner`.
- `VITE_PRIVY_APP_ID` (optional): App ID used for enabling Privy authentication. For deployment of DYDX token holders use `clua5njf801bncvpa0woolzq4`.
- `VITE_PRIVY_APP_CLIENT_ID` (optional): App Client ID used for enabling Privy authentication.
- `VITE_ROBOTS` (optional): Value of the HTML meta tag "robots"; recommended values: `index, follow` or `noindex`.

## Part 5: Configure entry points

Expand Down
1 change: 1 addition & 0 deletions template.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
<meta property="og:image:height" content="1260" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="dYdX" />
<meta name="robots" content="%VITE_ROBOTS%">
<script>
if (typeof globalThis === 'undefined') {
(function () {
Expand Down

0 comments on commit 13bfb46

Please sign in to comment.