This repository has been archived by the owner on Dec 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(#86): make canonical URL trailing slash optional
- Loading branch information
1 parent
e4b6aa1
commit 7859914
Showing
7 changed files
with
56 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<template> | ||
<div> | ||
<h1>Your user!</h1> | ||
<p>User: Tiago Danin.</p> | ||
<br> | ||
<p>Links:</p> | ||
<ul> | ||
<li><nuxt-link to="/">Index</nuxt-link></li> | ||
<li><nuxt-link to="/news">News</nuxt-link></li> | ||
<li><nuxt-link to="/news?query=true">News with query</nuxt-link></li> | ||
<li><nuxt-link to="/login?query=true">Login with query and canonical with trailing slash forced</nuxt-link></li> | ||
<li><nuxt-link to="/about">About</nuxt-link></li> | ||
</ul> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
head: function() { | ||
return this.$seo({ | ||
title: 'Nuxt is the best', | ||
description: 'Tiago Danin User', | ||
isForcedTrailingSlash: true, | ||
openGraph: { | ||
title: 'openGraph title' | ||
} | ||
}) | ||
} | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters