mirror of
				https://github.com/ItsDrike/itsdrike.com.git
				synced 2025-11-04 04:06:36 +00:00 
			
		
		
		
	Add jquery
This commit is contained in:
		
							parent
							
								
									4548c18688
								
							
						
					
					
						commit
						2ab2765363
					
				
					 5 changed files with 25 additions and 2 deletions
				
			
		
							
								
								
									
										9
									
								
								layouts/partials/script.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								layouts/partials/script.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,9 @@
 | 
			
		|||
{{ $script := resources.Get . }}
 | 
			
		||||
 | 
			
		||||
{{ if in . "min" }}
 | 
			
		||||
    {{ $script = $script | minify | fingerprint }}
 | 
			
		||||
{{ else }}
 | 
			
		||||
    {{ $script = $script | js.Build (dict "minify" true) | fingerprint }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
 | 
			
		||||
<script type="text/javascript" src="{{ $script.RelPermalink }}" integrity="{{ $script.Data.Integrity }}"></script>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue