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>
|
||||
<h2>{{ title .Title }}</h2>
|
||||
<p>{{ partial "subtitle_string.html" . }}</p>
|
||||
{{ if .Params.date }}
|
||||
<small>Published: {{ .Date.Format "January 2 2006" }}</small>
|
||||
{{ end }}
|
||||
</header>
|
||||
{{ if .Content }}
|
||||
<div class="box">
|
||||
|
|
|
@ -117,6 +117,15 @@ nav {
|
|||
|
||||
#main > header {
|
||||
margin-bottom: 2em;
|
||||
|
||||
p {
|
||||
padding: 1em 0 0.5em;
|
||||
}
|
||||
|
||||
small {
|
||||
display: block;
|
||||
font-size: 0.9em;
|
||||
}
|
||||
}
|
||||
|
||||
.yt-embed {
|
||||
|
|
Loading…
Reference in a new issue