Skip to content

Commit

Permalink
Adding an example of hrefLang
Browse files Browse the repository at this point in the history
  • Loading branch information
kesava authored May 24, 2017
1 parent 07851a6 commit 3eb8f52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ function HTML () {
<link rel="canonical" href="http://mysite.com/example" />
<link rel="apple-touch-icon" href="http://mysite.com/img/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon" sizes-"72x72" href="http://mysite.com/img/apple-touch-icon-72x72.png" />
{locales.map((locale) => {
<link rel="alternate" href="http://example.com/{locale}" hrefLang={locale} />
})}

{/* multiple script elements */}
<script src="http://include.com/pathtojs.js" type="text/javascript" />
Expand Down

0 comments on commit 3eb8f52

Please sign in to comment.