fix darkmode
This commit is contained in:
		
							parent
							
								
									8989324571
								
							
						
					
					
						commit
						672a641cec
					
				
					 4 changed files with 26 additions and 19 deletions
				
			
		| 
						 | 
				
			
			@ -5,6 +5,7 @@
 | 
			
		|||
{{define "main"}}
 | 
			
		||||
<!-- Main Page -->
 | 
			
		||||
<div class="singlePage">
 | 
			
		||||
    {{partial "darkmode.html" .}}
 | 
			
		||||
    {{.Content}}
 | 
			
		||||
 | 
			
		||||
    <!-- Contact Info -->
 | 
			
		||||
| 
						 | 
				
			
			@ -12,4 +13,10 @@
 | 
			
		|||
        {{partial "footer.html" .}}
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
{{- with resources.Get "darkmode.js" | minify -}}
 | 
			
		||||
<script>
 | 
			
		||||
  {{.Content | safeJS }}
 | 
			
		||||
</script>
 | 
			
		||||
{{- end -}}
 | 
			
		||||
{{end}}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue