Skip to content

Commit

Permalink
updates domain and meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
morsecodemedia committed Jul 13, 2021
1 parent 9200a2e commit 5121f67
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
22 changes: 11 additions & 11 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,20 @@ export default {
name: 'App',
head () {
return {
title: '',
title: 'Meta Tags | A morsecodemedia tool',
meta: [
{ hid: 'ogtitle', property: 'og:title', content: '' },
{ hid: 'twtitle', name: 'twitter:title', content: '' },
{ hid: 'googlename', itemprop: 'name', content: '' },
{ hid: 'description', name: 'description', content: '' },
{ hid: 'ogdescription', property: 'og:description', content: '' },
{ hid: 'twdescription', name: 'twitter:description', content: '' },
{ hid: 'googledescription', itemprop: 'description', content: '' },
{ hid: 'ogurl', property: 'og:url', content: 'https://www.domain.com' + this.$route.path },
{ hid: 'twsite', name: 'twitter:site', content: 'https://www.domain.com' + this.$route.path }
{ hid: 'ogtitle', property: 'og:title', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'twtitle', name: 'twitter:title', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'googlename', itemprop: 'name', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'description', name: 'description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'ogdescription', property: 'og:description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'twdescription', name: 'twitter:description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'googledescription', itemprop: 'description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'ogurl', property: 'og:url', content: 'https://meta-tags.morsecodemedia.com' + this.$route.path },
{ hid: 'twsite', name: 'twitter:site', content: 'https://meta-tags.morsecodemedia.com' + this.$route.path }
],
link: [
{ hid: 'canonical', rel: 'canonical', href: 'https://www.domain.com' + this.$route.path }
{ hid: 'canonical', rel: 'canonical', href: 'https://meta-tags.morsecodemedia.com' + this.$route.path }
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export default {
'@nuxtjs/redirect-module'
],
sitemap: {
hostname: 'https://www.domain.com',
hostname: 'https://meta-tags.morsecodemedia.com',
gzip: true,
trailingSlash: true,
defaults: {
Expand All @@ -72,7 +72,7 @@ export default {
},
robots: {
UserAgent: '*',
Sitemap: 'https://www.domain.com/sitemap.xml'
Sitemap: 'https://meta-tags.morsecodemedia.com/sitemap.xml'
},
redirect: [],
/*
Expand Down
22 changes: 11 additions & 11 deletions pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,20 +79,20 @@ export default {
},
head () {
return {
title: '',
title: 'Meta Tags | A morsecodemedia tool',
meta: [
{ hid: 'ogtitle', property: 'og:title', content: '' },
{ hid: 'twtitle', name: 'twitter:title', content: '' },
{ hid: 'googlename', itemprop: 'name', content: '' },
{ hid: 'description', name: 'description', content: '' },
{ hid: 'ogdescription', property: 'og:description', content: '' },
{ hid: 'twdescription', name: 'twitter:description', content: '' },
{ hid: 'googledescription', itemprop: 'description', content: '' },
{ hid: 'ogurl', property: 'og:url', content: 'https://www.domain.com' + this.$route.path },
{ hid: 'twsite', name: 'twitter:site', content: 'https://www.domain.com' + this.$route.path }
{ hid: 'ogtitle', property: 'og:title', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'twtitle', name: 'twitter:title', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'googlename', itemprop: 'name', content: 'Meta Tags | A morsecodemedia tool' },
{ hid: 'description', name: 'description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'ogdescription', property: 'og:description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'twdescription', name: 'twitter:description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'googledescription', itemprop: 'description', content: 'A page to check character count and preview meta tags in various scenarios.' },
{ hid: 'ogurl', property: 'og:url', content: 'https://meta-tags.morsecodemedia.com' + this.$route.path },
{ hid: 'twsite', name: 'twitter:site', content: 'https://meta-tags.morsecodemedia.com' + this.$route.path }
],
link: [
{ hid: 'canonical', rel: 'canonical', href: 'https://www.domain.com' + this.$route.path }
{ hid: 'canonical', rel: 'canonical', href: 'https://meta-tags.morsecodemedia.com' + this.$route.path }
]
}
}
Expand Down

0 comments on commit 5121f67

Please sign in to comment.