remove default theme
This commit is contained in:
		
							parent
							
								
									b0b64876ae
								
							
						
					
					
						commit
						48d3ea13e6
					
				
					 24 changed files with 231 additions and 15 deletions
				
			
		
							
								
								
									
										12
									
								
								layouts/partials/head/js.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								layouts/partials/head/js.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| {{- with resources.Get "js/main.js" }} | ||||
|   {{- if eq hugo.Environment "development" }} | ||||
|     {{- with . | js.Build }} | ||||
|       <script src="{{ .RelPermalink }}"></script> | ||||
|     {{- end }} | ||||
|   {{- else }} | ||||
|     {{- $opts := dict "minify" true }} | ||||
|     {{- with . | js.Build $opts | fingerprint }} | ||||
|       <script src="{{ .RelPermalink }}" integrity="{{- .Data.Integrity }}" crossorigin="anonymous"></script> | ||||
|     {{- end }} | ||||
|   {{- end }} | ||||
| {{- end }} | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue