1
Fork 0

Add post date where available

This commit is contained in:
Jake Howard 2017-07-27 18:10:38 +01:00
parent 88263e9724
commit c8065436c1
Signed by: jake
GPG key ID: 57AFB45680EDD477
2 changed files with 12 additions and 0 deletions

View file

@ -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">

View file

@ -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 {