Skip to content

Commit

Permalink
fix(seo): Add canonical tags to dynamic pages.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Mar 19, 2023
1 parent a4e64d1 commit e07331b
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pages/advanced.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,13 @@ export default Vue.extend({
name: 'keywords',
content: `search, advanced, query, sql, gtdb`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/advanced`,
}
]
}
},
Expand Down
7 changes: 7 additions & 0 deletions pages/browsers.vue
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,13 @@ export default Vue.extend({
name: 'keywords',
content: `table, browse, taxa, gtdb`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/browsers`,
}
]
}
},
Expand Down
7 changes: 7 additions & 0 deletions pages/searches.vue
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,13 @@ export default Vue.extend({
name: 'keywords',
content: `search, genome, genomes, find, gtdb`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/searches`,
}
]
}
},
Expand Down
7 changes: 7 additions & 0 deletions pages/taxon-history.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,13 @@ export default Vue.extend({
name: 'keywords',
content: `history, change, time, over time, previous, taxon, taxonomy`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/taxon-history`,
}
]
}
},
Expand Down
7 changes: 7 additions & 0 deletions pages/tools/fastani.vue
Original file line number Diff line number Diff line change
Expand Up @@ -372,6 +372,13 @@ export default Vue.extend({
name: 'keywords',
content: `fastani, ANI, AF, average nucleotide identity, alignment fraction, pairwise, gtdb`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/tools/fastani`,
}
]
}
},
Expand Down
7 changes: 7 additions & 0 deletions pages/tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,13 @@ export default Vue.extend({
name: 'keywords',
content: `tree, taxonomy, taxa, phylogenetic, gtdb`
}
],
link: [
{
hid: 'canonical',
rel: 'canonical',
href: `https://gtdb.ecogenomic.org/tree`,
}
]
}
},
Expand Down

0 comments on commit e07331b

Please sign in to comment.