Skip to content

Commit 8ca3945

Browse files
committed
improve SEO for CVE Record Detail page
1 parent 7366730 commit 8ca3945

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default {
5151
5252
return {
5353
link: [{rel: 'canonical',
54-
content: `${baseURL}/${suffix}`}]
54+
href: `${baseURL}/${suffix}`}]
5555
}
5656
}
5757
}

src/views/CVERecord/CVERecord.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,10 @@ export default {
138138
},
139139
head() {
140140
const cveId = this.$route.query.id;
141-
return {title: `CVE Record: ${cveId}`}
141+
return {
142+
title: `CVE Record: ${cveId}`,
143+
description: `Vulnerability Detail for ${cveId}`
144+
}
142145
},
143146
watch: {
144147
$route(to) {

0 commit comments

Comments
 (0)