mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 04:13:17 -06:00
Fix whitespace in modified date and add padding-left to tags
This commit is contained in:
parent
bed4a9b74a
commit
0067109d4a
@ -27,6 +27,10 @@
|
||||
padding-top: 5px;
|
||||
}
|
||||
|
||||
.tags {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: auto;
|
||||
max-width: 720px;
|
||||
|
@ -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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user