add base structure
This commit is contained in:
		
						commit
						c01138a81c
					
				
					 26 changed files with 576 additions and 0 deletions
				
			
		
							
								
								
									
										24
									
								
								layouts/_default/single.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								layouts/_default/single.html
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,24 @@
 | 
			
		|||
<!DOCTYPE html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
{{ partial "head.html" . }}
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
<div class="singlePage">
 | 
			
		||||
    <!-- Begin actual content -->
 | 
			
		||||
    {{partial "darkmode.html" .}}
 | 
			
		||||
    <article>
 | 
			
		||||
        {{if .Title}}<h1>{{ .Title }}</h1>{{end}}
 | 
			
		||||
        {{- .Content -}}
 | 
			
		||||
    </article>
 | 
			
		||||
    {{partial "footer.html" .}}
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
{{- with resources.Get "darkmode.js" | minify -}}
 | 
			
		||||
<script>
 | 
			
		||||
  {{.Content | safeJS }}
 | 
			
		||||
</script>
 | 
			
		||||
{{- end -}}
 | 
			
		||||
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue