🔍 Improving SEO

This commit is contained in:
liyasthomas
2019-11-03 11:36:41 +05:30
parent ae2d07838c
commit 3198f6172b
9 changed files with 17 additions and 4 deletions

View File

@@ -31,8 +31,8 @@
<div align="center"> <div align="center">
<br> <br>
<img src="static/screenshot1.png" alt="Screenshot1" width="100%"> <img src="static/images/screenshot1.png" alt="Screenshot1" width="100%">
<img src="static/screenshot2.png" alt="Screenshot2" width="100%"> <img src="static/images/screenshot2.png" alt="Screenshot2" width="100%">
<br> <br>
</div> </div>

View File

@@ -24,7 +24,7 @@
We're using manual checks for linkActive because the query string We're using manual checks for linkActive because the query string
seems to mess up the nuxt-link active class. seems to mess up the nuxt-link active class.
--> -->
<nuxt-link to="/" :class="linkActive('/')" v-tooltip.right="'Home'"> <nuxt-link to="/" :class="linkActive('/')" v-tooltip.right="'Home'" aria-label="Home">
<logo alt style="height: 24px;"></logo> <logo alt style="height: 24px;"></logo>
</nuxt-link> </nuxt-link>
<nuxt-link <nuxt-link

View File

@@ -227,7 +227,8 @@ export default {
['@nuxtjs/sitemap'], ['@nuxtjs/sitemap'],
['@nuxtjs/google-tag-manager', { ['@nuxtjs/google-tag-manager', {
id: process.env.GTM_ID || 'GTM-MXWD8NQ' id: process.env.GTM_ID || 'GTM-MXWD8NQ'
}] }],
['@nuxtjs/robots']
], ],
pwa: { pwa: {
manifest: { manifest: {
@@ -270,6 +271,12 @@ export default {
sitemap: { sitemap: {
hostname: 'https://postwoman.io' hostname: 'https://postwoman.io'
}, },
robots: {
UserAgent: '*',
Allow: '/',
Disallow: '',
Sitemap: 'sitemap.xml'
},
/* /*
** Build configuration ** Build configuration
*/ */

5
package-lock.json generated
View File

@@ -1385,6 +1385,11 @@
} }
} }
}, },
"@nuxtjs/robots": {
"version": "2.4.2",
"resolved": "https://registry.npmjs.org/@nuxtjs/robots/-/robots-2.4.2.tgz",
"integrity": "sha512-BW3qhvxlPBKlMkZHtARFPeliFraiZHS28G3j4qgRbSfOBtHC0yDX3Dnq1LkQMzAbPfbw6A1L3sdjgBVZZnfFAw=="
},
"@nuxtjs/sitemap": { "@nuxtjs/sitemap": {
"version": "2.0.0", "version": "2.0.0",
"resolved": "https://registry.npmjs.org/@nuxtjs/sitemap/-/sitemap-2.0.0.tgz", "resolved": "https://registry.npmjs.org/@nuxtjs/sitemap/-/sitemap-2.0.0.tgz",

View File

@@ -22,6 +22,7 @@
"@nuxtjs/google-analytics": "^2.2.1", "@nuxtjs/google-analytics": "^2.2.1",
"@nuxtjs/google-tag-manager": "^2.3.1", "@nuxtjs/google-tag-manager": "^2.3.1",
"@nuxtjs/pwa": "^3.0.0-beta.19", "@nuxtjs/pwa": "^3.0.0-beta.19",
"@nuxtjs/robots": "^2.4.2",
"@nuxtjs/sitemap": "^2.0.0", "@nuxtjs/sitemap": "^2.0.0",
"@nuxtjs/toast": "^3.3.0", "@nuxtjs/toast": "^3.3.0",
"highlight.js": "^9.16.2", "highlight.js": "^9.16.2",

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 65 KiB

After

Width:  |  Height:  |  Size: 65 KiB

View File

Before

Width:  |  Height:  |  Size: 71 KiB

After

Width:  |  Height:  |  Size: 71 KiB