We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rel
1 parent 67d34a0 commit d2336ddCopy full SHA for d2336dd
src/app/[...slug]/layout.tsx
@@ -137,7 +137,9 @@ export default async function Layoutt({ params, children }: Props) {
137
Previous
138
</label>
139
<div className="text-xl">
140
- <Link href={previousPage.url}>{previousPage.title}</Link>
+ <Link href={previousPage.url} rel="prev">
141
+ {previousPage.title}
142
+ </Link>
143
</div>
144
145
)}
@@ -152,7 +154,9 @@ export default async function Layoutt({ params, children }: Props) {
152
154
Next
153
155
156
- <Link href={nextPage.url}>{nextPage.title}</Link>
157
+ <Link href={nextPage.url} rel="next">
158
+ {nextPage.title}
159
160
161
162
0 commit comments