mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	Fix lastmod displaying & show even when GitInfo is enabled
This commit is contained in:
		| @@ -13,8 +13,8 @@ | |||||||
|     {{ $gitinfo = true }} |     {{ $gitinfo = true }} | ||||||
|     {{ end }} |     {{ end }} | ||||||
|  |  | ||||||
|     {{ if not $gitinfo }} |     {{/* TODO: make this be a tooltip */}} | ||||||
|     {{ if ne .Lastmod .Date }} |     {{ if ne (time.Format "2006-01-02" .Lastmod) (time.Format "2006-01-02" .Date) }} | ||||||
|     <span class="post-meta-item"> |     <span class="post-meta-item"> | ||||||
|         {{ partial "icon.html" "pencil" }} |         {{ partial "icon.html" "pencil" }} | ||||||
|         <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> |         <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> | ||||||
| @@ -23,7 +23,6 @@ | |||||||
|         {{ end }} |         {{ end }} | ||||||
|     </span> |     </span> | ||||||
|     {{ end }} |     {{ end }} | ||||||
|     {{ end }} |  | ||||||
|  |  | ||||||
|     {{ with .Params.authors }} |     {{ with .Params.authors }} | ||||||
|     <span class="post-meta-item"> |     <span class="post-meta-item"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user