Add a page header to the list, single, and taxonomy templates
This commit is contained in:
		
							parent
							
								
									2878dd8d60
								
							
						
					
					
						commit
						54c371d7e6
					
				
					 5 changed files with 62 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,8 @@
 | 
			
		|||
{{ define "main" }}
 | 
			
		||||
  <main class="main--list">
 | 
			
		||||
    <header class="page-header">
 | 
			
		||||
      {{- $title := printf "%s: %s" .Data.Singular .Title }}
 | 
			
		||||
      {{ partial "page_header.html" (dict "page" . "title" $title) }}
 | 
			
		||||
    </header>
 | 
			
		||||
  </main>
 | 
			
		||||
{{ end }}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue