rhazdon / hugo-theme-hello-friend-ng

Pretty basic theme for Hugo that covers all of the essentials. All you have to do is start typing!
https://github.com/rhazdon/hugo-theme-hello-friend-ng/
Other
1.46k stars 769 forks source link

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

Open michael-schramm opened 2 years ago

michael-schramm commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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

rajabebek commented 2 years ago

also prismjs