Skip to content

Commit

Permalink
added canonical link
Browse files Browse the repository at this point in the history
  • Loading branch information
e11sy committed Jul 20, 2024
1 parent 6749622 commit 6ac101a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
export default {
router: {
/**
* This will not allow to visit route with trailing slash
* (else redirect will be treated as navigation to the current page and error will be raised)
*/
trailingSlash: false,
},
// Target (https://go.nuxtjs.dev/config-target)
target: 'static',

Expand Down
7 changes: 7 additions & 0 deletions pages/ru.vue
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,13 @@ export default Vue.extend({
head() {
return {
title: "Хоук — российский трекер ошибок",
link: [
{
rel: 'canonical',
href: 'https://hawk.so/ru/',
id: 'canonical'
},
],
meta: [
{
hid: 'description',
Expand Down

0 comments on commit 6ac101a

Please sign in to comment.