Add post date where available
This commit is contained in:
parent
88263e9724
commit
c8065436c1
2 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
||||||
<header>
|
<header>
|
||||||
<h2>{{ title .Title }}</h2>
|
<h2>{{ title .Title }}</h2>
|
||||||
<p>{{ partial "subtitle_string.html" . }}</p>
|
<p>{{ partial "subtitle_string.html" . }}</p>
|
||||||
|
{{ if .Params.date }}
|
||||||
|
<small>Published: {{ .Date.Format "January 2 2006" }}</small>
|
||||||
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
{{ if .Content }}
|
{{ if .Content }}
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
|
|
@ -117,6 +117,15 @@ nav {
|
||||||
|
|
||||||
#main > header {
|
#main > header {
|
||||||
margin-bottom: 2em;
|
margin-bottom: 2em;
|
||||||
|
|
||||||
|
p {
|
||||||
|
padding: 1em 0 0.5em;
|
||||||
|
}
|
||||||
|
|
||||||
|
small {
|
||||||
|
display: block;
|
||||||
|
font-size: 0.9em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.yt-embed {
|
.yt-embed {
|
||||||
|
|
Loading…
Reference in a new issue