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;
|
padding-top: 5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tags {
|
||||||
|
padding-left: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
margin: auto;
|
margin: auto;
|
||||||
max-width: 720px;
|
max-width: 720px;
|
||||||
|
@ -21,12 +21,9 @@
|
|||||||
{{ .Date.Format "January 2, 2006" }}
|
{{ .Date.Format "January 2, 2006" }}
|
||||||
</time>
|
</time>
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if ne .Lastmod .Date }}
|
||||||
( Modified
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||||
<time datetime="{{ .Lastmod.Format "January 2, 2006" }}" pubdate>
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
||||||
{{ .Lastmod.Format "January 2, 2006" }}
|
|
||||||
</time>
|
</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 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
@ -5,16 +5,13 @@
|
|||||||
|
|
||||||
<div class="post-metadata">
|
<div class="post-metadata">
|
||||||
{{ if .Date }}
|
{{ if .Date }}
|
||||||
<time datetime="{{ .Date.Format "January 2, 2006" }}" pubdate>
|
<time datetime="{{ .Date.Format "2006-01-02" }}" pubdate>
|
||||||
{{ .Date.Format "January 2, 2006" }}
|
{{ .Date.Format "January 2, 2006" }}
|
||||||
</time>
|
</time>
|
||||||
{{ if ne .Lastmod .Date }}
|
{{ if ne .Lastmod .Date }}
|
||||||
( Modified
|
<time datetime="{{ .Lastmod.Format "2006-01-02" }}" pubdate>
|
||||||
<time datetime="{{ .Lastmod.Format "January 2, 2006" }}" pubdate>
|
(Modified {{ .Lastmod.Format "January 2, 2006" }})
|
||||||
{{ .Lastmod.Format "January 2, 2006" }}
|
|
||||||
</time>
|
</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 }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user