We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 67d34a0 + d2336dd commit e18667aCopy full SHA for e18667a
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