Custom admin interface title and favicon #7506
Ali-D-Coded
started this conversation in
Feature requests
Replies: 5 comments 6 replies
-
Great idea @Ali-D-Coded This isn't currently possible. I'm making this a feature request 🙇 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Did this get implemented? |
Beta Was this translation helpful? Give feedback.
0 replies
-
For title, I found a simple hack:
import { useEffect } from "react"
export const useCustomTitle = (cmsTitleBase: string) =>
useEffect(() => {
const currentTitle = document.title
const newTitle = currentTitle.replace("Keystone", cmsTitleBase)
if (newTitle !== currentTitle) document.title = newTitle
}) |
Beta Was this translation helpful? Give feedback.
0 replies
-
You can replace existing favicon with the following method getAdditionalFiles: [
async (config: KeystoneConfig) => [
{
mode: 'copy',
inputPath: Path.join(pkgDir, 'public', 'favicon.ico'),
outputPath: 'public/favicon.ico',
},
],
], |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How can I remove keystone's default title and favicon and replace it with my own? is it possible?
Beta Was this translation helpful? Give feedback.
All reactions