mirror of
				https://github.com/Brandon-Rozek/website-theme.git
				synced 2025-10-31 01:41:13 +00:00 
			
		
		
		
	Added ability to hide date
This commit is contained in:
		
							parent
							
								
									0277672917
								
							
						
					
					
						commit
						407fbd59f4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1,4 +1,4 @@ | ||||||
| {{ if not .Date.IsZero }} | {{ if and (not .Date.IsZero) (not .Params.hideDate) (not .Site.Params.hideDate) }} | ||||||
|     {{ $publishString := .Scratch.Get "beforeDateString" }} |     {{ $publishString := .Scratch.Get "beforeDateString" }} | ||||||
|     {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}} |     {{ $singlePageDateFormat := .Site.Params.singlePageDateFormat | default "January 2, 2006"}} | ||||||
|     {{ $pubdate := .Date.Format $singlePageDateFormat }} |     {{ $pubdate := .Date.Format $singlePageDateFormat }} | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue