Fix the page CSS partial so that it generates a new stylesheet for each page
This commit is contained in:
		
							parent
							
								
									8296cc6e43
								
							
						
					
					
						commit
						727a6ffd59
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -1,5 +1,5 @@
 | 
			
		|||
{{ $pageCSS := dict }}
 | 
			
		||||
{{ with .Resources.Match "*.css" }}
 | 
			
		||||
  {{ $pageCSS = . | resources.Concat "page.css" | fingerprint "md5" }}
 | 
			
		||||
  {{ $pageCSS = . | resources.Concat (printf "%s/page.css" $.File.Dir) | fingerprint "md5" }}
 | 
			
		||||
{{ end }}
 | 
			
		||||
{{ return $pageCSS }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue