mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-28 16:53:30 -05:00 
			
		
		
		
	Put a span around post date in list pages
This commit is contained in:
		| @@ -42,18 +42,20 @@ | ||||
|     <div class="post-metadata"> | ||||
|         {{ if .Date }} | ||||
|  | ||||
|         {{ partial "icon.html" "calendar" }} | ||||
|         <time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate> | ||||
|             {{ .Date.Format "January 2, 2006" }} | ||||
|         </time> | ||||
|         <span class="date"> | ||||
|             {{ partial "icon.html" "calendar" }} | ||||
|             <time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate> | ||||
|                 {{ .Date.Format "January 2, 2006" }} | ||||
|             </time> | ||||
|  | ||||
|         {{ if ne .Lastmod .Date }} | ||||
|         <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> | ||||
|             (Modified {{ .Lastmod.Format "January 2, 2006" }}) | ||||
|         </time> | ||||
|         {{ end }} | ||||
|             {{ if ne .Lastmod .Date }} | ||||
|             <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> | ||||
|                 (Modified {{ .Lastmod.Format "January 2, 2006" }}) | ||||
|             </time> | ||||
|             {{ end }} | ||||
|  | ||||
|         {{ end }} | ||||
|             {{ end }} | ||||
|         </span> | ||||
|  | ||||
|         <span class="tags"> | ||||
|             {{ range (.GetTerms "tags") }} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user