Clean up content_header
This commit is contained in:
		
							parent
							
								
									4576de0c8d
								
							
						
					
					
						commit
						f4ed16c706
					
				
					 1 changed files with 4 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,11 +1,9 @@
 | 
			
		|||
<header>
 | 
			
		||||
  {{ partial "development/draft_tag.html" . }}
 | 
			
		||||
  <div class="post-title">
 | 
			
		||||
    <h1>{{ .Title }}</h1>
 | 
			
		||||
    {{ if and (not (eq .Section "about")) .Date }}
 | 
			
		||||
      <div class="post-date"><time>{{ .Date | time.Format "January 2, 2006" }}</time></div>
 | 
			
		||||
    {{ end }}
 | 
			
		||||
  </div>
 | 
			
		||||
  <h1>{{ .Title }}</h1>
 | 
			
		||||
  {{ if and (not (eq .Section "about")) .Date }}
 | 
			
		||||
    <time>{{ .Date | time.Format "January 2, 2006" }}</time>
 | 
			
		||||
  {{ end }}
 | 
			
		||||
  {{- if .Params.series -}}
 | 
			
		||||
    {{- $series := .GetTerms "series" -}}
 | 
			
		||||
    {{- if gt (len $series) 1 -}}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue