Skip to content

Commit

Permalink
only load identity script on home page (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
erquhart authored Jul 16, 2019
1 parent 3519cb5 commit 49f94a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion site/layouts/partials/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,7 @@
<meta property="og:url" content="/">
<meta property="og:image" content="/img/og-image.jpg">

<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
{{ if .IsHome }}
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script>
{{ end }}
</head>

0 comments on commit 49f94a5

Please sign in to comment.