Pass an additional parameter to base/head/css.html
Pass the path of a stylesheet resource to this template so it can be used to generate other CSS stylesheets.
This commit is contained in:
		
							parent
							
								
									8b834f8eab
								
							
						
					
					
						commit
						64c1704a6b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
{{- with (partial "base/css.html" .) }}
 | 
			
		||||
{{- with (partial .cssResource .page) }}
 | 
			
		||||
  {{- if eq hugo.Environment "development" }}
 | 
			
		||||
    <link rel="stylesheet" href="{{ .RelPermalink }}">
 | 
			
		||||
  {{- else }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue