Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
7d4b36cc
Unverified
Commit
7d4b36cc
authored
Oct 29, 2020
by
Joris W
Committed by
GitHub
Oct 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix GSP page titles in i18n-routing example (#18465)
parent
bb96fefa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
[slug].js
examples/i18n-routing/pages/gsp/[slug].js
+1
-1
index.js
examples/i18n-routing/pages/gsp/index.js
+1
-1
No files found.
examples/i18n-routing/pages/gsp/[slug].js
View file @
7d4b36cc
...
...
@@ -11,7 +11,7 @@ export default function GspPage(props) {
return
(
<
div
>
<
h1
>
getS
erverSide
Props
page
<
/h1
>
<
h1
>
getS
tatic
Props
page
<
/h1
>
<
p
>
Current
slug
:
{
query
.
slug
}
<
/p
>
<
p
>
Current
locale
:
{
props
.
locale
}
<
/p
>
<
p
>
Default
locale
:
{
defaultLocale
}
<
/p
>
...
...
examples/i18n-routing/pages/gsp/index.js
View file @
7d4b36cc
...
...
@@ -7,7 +7,7 @@ export default function GspPage(props) {
return
(
<
div
>
<
h1
>
getS
erverSide
Props
page
<
/h1
>
<
h1
>
getS
tatic
Props
page
<
/h1
>
<
p
>
Current
locale
:
{
props
.
locale
}
<
/p
>
<
p
>
Default
locale
:
{
defaultLocale
}
<
/p
>
<
p
>
Configured
locales
:
{
JSON
.
stringify
(
props
.
locales
)}
<
/p
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment