Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need Head.js for childtheme #4

Open
ghost opened this issue Aug 2, 2021 · 1 comment
Open

Need Head.js for childtheme #4

ghost opened this issue Aug 2, 2021 · 1 comment

Comments

@ghost
Copy link

ghost commented Aug 2, 2021

There is a change needed on head.js for child theme, such as updating favicon?
What should be the right way, so that child theme should have its own head.js file to update the scripts and links and meta tags for page.

@jissereitsma
Copy link
Contributor

Could you elaborate a bit on your question? With the override covered by this repository, you should be able to override a file like src/themes/default/head.js which exports one large object. Did you do this already? Next, in your override, you can either create a new object from scratch, and export it. But you can also import the old object from the original file src/themes/default/head.js as well. Which code did you already try out?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant