mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-30 19:35:26 +01:00 
			
		
		
		
	built-in Chroma
This commit is contained in:
		| @@ -13,18 +13,6 @@ | ||||
| {{- end }} | ||||
| {{- end -}} | ||||
|  | ||||
| {{- /* Highlight.js */}} | ||||
| {{- $isHLJSdisabled := (site.Params.assets.disableHLJS | default .Params.disableHLJS ) }} | ||||
| {{- if (and (eq .Kind "page") (ne .Layout "archives") (ne .Layout "search") (not $isHLJSdisabled)) }} | ||||
| {{- if not site.Params.assets.disableFingerprinting }} | ||||
| {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" | fingerprint }} | ||||
| <script defer crossorigin="anonymous" src="{{ $highlight.RelPermalink }}" integrity="{{ $highlight.Data.Integrity }}"></script> | ||||
| {{- else }} | ||||
| {{- $highlight := slice (resources.Get "js/highlight.min.js") | resources.Concat "assets/js/highlight.js" }} | ||||
| <script defer crossorigin="anonymous" src="{{ $highlight.RelPermalink }}"></script> | ||||
| {{- end }} | ||||
| {{- end }} | ||||
|  | ||||
| {{- /* PaperMod.js */}} | ||||
| {{- $scrollToTop := (not site.Params.disableScrollToTop | default .Params.disableScrollToTop ) }} | ||||
| {{- $themeToggle := (not site.Params.disableThemeToggle | default .Params.disableThemeToggle ) }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Wonderfall
					Wonderfall