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

Custom scripts in head section #45

Open
mikasjp opened this issue Apr 30, 2020 · 4 comments
Open

Custom scripts in head section #45

mikasjp opened this issue Apr 30, 2020 · 4 comments

Comments

@mikasjp
Copy link

mikasjp commented Apr 30, 2020

Users should be able to include their own JS and CSS scripts in the head section.

@samarsault
Copy link
Owner

I don't see the point of this. If you want to include your own JS, CSS just add them to your fork. What do you suggest?

@mikasjp
Copy link
Author

mikasjp commented May 15, 2020

Imagine this situation. For example, the user wants to install the Hotjar service on their website. To achieve this, he must embed an external JS script in the head section. This is currently not possible. Some services also require CSS scripts.

@DotIN13
Copy link
Contributor

DotIN13 commented May 15, 2020

Imagine this situation. For example, the user wants to install the Hotjar service on their website. To achieve this, he must embed an external JS script in the head section. This is currently not possible. Some services also require CSS scripts.

You can always fork this repo and make changes to head.html partial anyway you like, then push to your own repo. After you push your source files, github will build the site with files you uploaded instead of default theme files.

@samarsault
Copy link
Owner

Yes, I agree with @DotIN13. See this as an example.

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

3 participants