testing lastmod again
This commit is contained in:
		
							parent
							
								
									d9d498723b
								
							
						
					
					
						commit
						f71f286333
					
				@ -32,7 +32,7 @@ enableGitInfo = true
 | 
			
		||||
 | 
			
		||||
[frontmatter]
 | 
			
		||||
    date = ["date", "publishDate", "lastmod"]
 | 
			
		||||
    lastmod = ["lastmod", ":git", "date", "publishDate"]
 | 
			
		||||
    lastmod = [":fileModTime", "lastmod", ":git", "publishDate"]
 | 
			
		||||
    publishDate = ["publishDate", "date"]
 | 
			
		||||
    expiryDate = ["expiryDate"]
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										10
									
								
								content/post/one-last-try.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								content/post/one-last-try.md
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,10 @@
 | 
			
		||||
---
 | 
			
		||||
title: "One Last Try"
 | 
			
		||||
date: 2021-04-11T22:21:59+01:00
 | 
			
		||||
tags: ["shortcodes", "lastmod"]
 | 
			
		||||
topics: ["blogging"]
 | 
			
		||||
draft: true
 | 
			
		||||
---
 | 
			
		||||
 | 
			
		||||
How is this working, but not on any other pages?
 | 
			
		||||
 | 
			
		||||
@ -29,6 +29,7 @@
 | 
			
		||||
    {{ end }}
 | 
			
		||||
  </div>
 | 
			
		||||
  {{ end }}
 | 
			
		||||
  {{ .Lastmod }} 
 | 
			
		||||
  {{ end }}
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user