fix: give precedence to date created over last modified if defined (#101)
This commit is contained in:
		
							parent
							
								
									dff5ae0d4d
								
							
						
					
					
						commit
						e15e39155d
					
				
					 4 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,7 @@
 | 
			
		|||
    <li class="section-li">
 | 
			
		||||
        <div class="section">
 | 
			
		||||
            <p class="meta">
 | 
			
		||||
                {{if ne .Date .Lastmod}}{{ .Lastmod.Format "January 2, 2006" }}{{else}}Unknown{{end}}
 | 
			
		||||
                {{partial "date-fmt.html" .}}
 | 
			
		||||
            </p>
 | 
			
		||||
            <div class="desc">
 | 
			
		||||
                <h3><a href="{{ .Permalink }}">{{- .Title -}}</a></h3>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue