Switch theme to Doks
This commit is contained in:
		
							
								
								
									
										30
									
								
								layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										30
									
								
								layouts/_default/baseof.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,30 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="{{ .Site.LanguageCode | default "en" }}">
 | 
			
		||||
  {{ partial "head/head.html" . }}
 | 
			
		||||
  {{ if eq .Kind "home" -}}
 | 
			
		||||
    {{ .Scratch.Set "class" "home" -}}
 | 
			
		||||
  {{ else if eq .Kind "404" -}}
 | 
			
		||||
    {{ .Scratch.Set "class" "error404" -}}
 | 
			
		||||
  {{ else if eq .Kind "page" -}}
 | 
			
		||||
    {{ .Scratch.Set "class" .Type -}}
 | 
			
		||||
    {{ .Scratch.Add "class" " single" -}}
 | 
			
		||||
  {{ else -}}
 | 
			
		||||
    {{ .Scratch.Set "class" .Type -}}
 | 
			
		||||
    {{ .Scratch.Add "class" " list" -}}
 | 
			
		||||
  {{ end -}}
 | 
			
		||||
  <body class="{{ .Scratch.Get "class" }}">
 | 
			
		||||
    {{ partial "header/header.html" . }}
 | 
			
		||||
    <div class="wrap container" role="document">
 | 
			
		||||
      <div class="content">
 | 
			
		||||
        {{ block "main" . }}{{ end }}
 | 
			
		||||
      </div>
 | 
			
		||||
    </div>
 | 
			
		||||
    {{ block "sidebar-prefooter" . }}{{ end }}
 | 
			
		||||
    {{ block "sidebar-footer" . }}{{ end }}
 | 
			
		||||
    {{ partial "footer/footer.html" . }}
 | 
			
		||||
    {{ if and .IsHome .Site.Params.alert }}
 | 
			
		||||
      {{ partial "footer/alert.html" . }}
 | 
			
		||||
    {{ end }}
 | 
			
		||||
    {{ partial "footer/script-footer.html" . }}
 | 
			
		||||
  </body>
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user