Last active
October 26, 2015 13:21
-
-
Save newswim/bf0ec8ef5d0d1317c381 to your computer and use it in GitHub Desktop.
Meteor SEO Settings and
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
onAfterAction: function(){ | |
document.title = 'my awesome site: ' + Router.current().route.getName(); | |
} | |
</script> | |
<!-- I use a head.html that includes various SEO settings: --> | |
<head> | |
<meta name="viewport" content="width=device-width, initial-scale=1"/> | |
<meta name="fragment" content="!"/> | |
<meta name="description" content="your description"/> | |
<meta property="og:title" content="your site title"/> | |
<meta property="og:type" content="website"/> | |
<meta property="og:image" content="https://yourimageurl"/> | |
<meta property="og:url" content="https://hostname"/> | |
<meta property="og:description" content="your description"/> | |
<meta name="twitter:card" content="summary"/> | |
<meta name="twitter:url" content="https://hostname"/> | |
<meta name="twitter:title" content="your site title"/> | |
<meta name="twitter:description" content="your site description"/> | |
<meta name="twitter:image" content="https://yourimageurl"> | |
<noscript>You must have Javascript enabled in order to use this site</noscript> | |
<link rel="shortcut icon" href="/your-ico" type="image/x-icon" /> | |
</head> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment