Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
staylor authored Aug 24, 2021
1 parent 6aaf7e9 commit 812429f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ HelmetProvider.canUseDOM = false;
It is understood that in some cases for SEO, certain tags should appear earlier in the HEAD. Using the `prioritizeSeoTags` flag on any `<Helmet>` component allows the server render of react-helmet-async to expose a method for prioritizing relevant SEO tags.

In the component:
```
```javascript
<Helmet prioritizeSeoTags>
<title>A fancy webpage</title>
<link rel="notImportant" href="https://www.chipotle.com" />
Expand All @@ -143,7 +143,7 @@ In the component:

In your server template:

```
```javascript
<html>
<head>
${helmet.title.toString()}
Expand All @@ -158,7 +158,7 @@ In your server template:

Will result in:

```
```html
<html>
<head>
<title>A fancy webpage</title>
Expand Down

0 comments on commit 812429f

Please sign in to comment.