mirror of
				https://github.com/BBaoVanC/bobatheme.git
				synced 2025-10-31 10:03:30 -05:00 
			
		
		
		
	Fix whitespace in modified date and add padding-left to tags
This commit is contained in:
		| @@ -21,12 +21,9 @@ | ||||
|             {{ .Date.Format "January 2, 2006" }} | ||||
|         </time> | ||||
|         {{ if ne .Lastmod .Date }} | ||||
|         ( Modified | ||||
|         <time datetime="{{ .Lastmod.Format "January 2, 2006" }}" pubdate> | ||||
|             {{ .Lastmod.Format "January 2, 2006" }} | ||||
|         <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> | ||||
|             (Modified {{ .Lastmod.Format "January 2, 2006" }}) | ||||
|         </time> | ||||
|         ) <!-- I don't know how to get rid of the whitespace in between here, | ||||
|                so I'll just live with it for now. --> | ||||
|         {{ end }} | ||||
|         {{ end }} | ||||
|  | ||||
|   | ||||
| @@ -5,16 +5,13 @@ | ||||
|  | ||||
| <div class="post-metadata"> | ||||
|     {{ if .Date }} | ||||
|     <time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate> | ||||
|     <time datetime="{{ .Date.Format "2006-01-02" }}" pubdate> | ||||
|         {{ .Date.Format "January 2, 2006" }} | ||||
|     </time> | ||||
|     {{ if ne .Lastmod .Date }} | ||||
|     ( Modified | ||||
|     <time datetime="{{ .Lastmod.Format "January 2, 2006" }}" pubdate> | ||||
|         {{ .Lastmod.Format "January 2, 2006" }} | ||||
|     <time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate> | ||||
|         (Modified {{ .Lastmod.Format "January 2, 2006" }}) | ||||
|     </time> | ||||
|     ) <!-- I don't know how to get rid of the whitespace in between here, | ||||
|            so I'll just live with it for now. --> | ||||
|     {{ end }} | ||||
|     {{ end }} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user