hugo-theme-hello-friend-ng icon indicating copy to clipboard operation
hugo-theme-hello-friend-ng copied to clipboard

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

Open michael-schramm opened this issue 2 years ago • 3 comments

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!

michael-schramm avatar Aug 01 '22 11:08 michael-schramm

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 avatar Aug 13 '22 00:08 rajabebek

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

rajabebek avatar Aug 13 '22 07:08 rajabebek

also prismjs

rajabebek avatar Aug 13 '22 07:08 rajabebek