still working on the curriculum page. Added signature to every post. Added categories...
[theme-danix.xyz.git] / layouts / partials / funcs / datepublish.html
CommitLineData
e28a215c 1{{ $dateTime := .PublishDate.Format "2006-01-02" }}
2{{ $dateFormat := .Site.Params.dateFormat | default "Jan 2, 2006" }}
06c2e9e4 3{{ $author := .Params.author }}
4<div id="byline">
5 Published by {{ $author }} on <time datetime="{{ $dateTime }}">{{ .PublishDate.Format $dateFormat }}</time>
6</div>
7