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

Where does the javascript at the end of the page come from? #382

Open
michael-schramm opened this issue Aug 1, 2022 · 3 comments
Open

Comments

@michael-schramm
Copy link

michael-schramm commented Aug 1, 2022

I just published the website https://seoprofesional.blog and did a quick SEO crawl and found the following line of code at the end of every page:

script type="text/javascript" src="https://seoprofesional.blog/bundle.min.feebdc8d801e3fb1791305e362b6d11557f029604dd5b3c27e2686bc88787ee90ae1ccf0afe81bd7d959d7617cfe1fc73062aa82b4e1fa830d6941193d2cbddf.js" integrity="sha512-/uvcjYAeP7F5EwXjYrbRFVfwKWBN1bPCfiaGvIh4fukK4czwr&#43;gb19lZ12F8/h/HMGKqgrTh&#43;oMNaUEZPSy93w=="></script>

I am using git push to upload the page to the server.

Where does it come from?
If possible, I would like to avoid it at all.

Thanks!

@rajabebek
Copy link

rajabebek commented Aug 13, 2022

prismjs , you can delete this line of code {{ $prism := resources.Get "js/prism.js" }} and $prism inside javascript.html , hugo markdown now suport Code highlighting by default

@rajabebek
Copy link

rajabebek commented Aug 13, 2022

sorry . from toggle dark theme. {{ $secureJS := slice $main $menu | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}

@rajabebek
Copy link

also prismjs

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

2 participants