set up dynamic title
for website
This commit is contained in:
parent
55b4f08c90
commit
dea0ed1c2c
@ -20,7 +20,7 @@
|
||||
content="https://refine.dev/img/refine_social.png"
|
||||
/>
|
||||
<title>
|
||||
Refine - Build your React-based CRUD applications, without constraints.
|
||||
Белые ночи
|
||||
</title>
|
||||
</head>
|
||||
<body>
|
||||
|
@ -258,7 +258,12 @@ function App() {
|
||||
|
||||
<RefineKbar />
|
||||
<UnsavedChangesNotifier />
|
||||
<DocumentTitleHandler />
|
||||
<DocumentTitleHandler
|
||||
handler={(title) => {
|
||||
const cleanedTitle = title.autoGeneratedTitle.split('|')[0].trim()
|
||||
return `${cleanedTitle} — Белые ночи`
|
||||
}}
|
||||
/>
|
||||
</Refine>
|
||||
<DevtoolsPanel />
|
||||
</DevtoolsProvider>
|
||||
|
Loading…
Reference in New Issue
Block a user