Fix date
This commit is contained in:
parent
552b6b3892
commit
94dd746d6b
5 changed files with 7 additions and 4 deletions
|
@ -1,8 +1,5 @@
|
||||||
+++
|
+++
|
||||||
layout = "home"
|
layout = "home"
|
||||||
|
|
||||||
[cascade]
|
|
||||||
type = "generic"
|
|
||||||
+++
|
+++
|
||||||
|
|
||||||
hello
|
hello
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
+++
|
+++
|
||||||
title = "about"
|
title = "about"
|
||||||
|
|
||||||
|
type = "generic"
|
||||||
|
layout = "single"
|
||||||
+++
|
+++
|
||||||
|
|
||||||
Hi there! I'm a software enthusiast who recently graduated with a Computer
|
Hi there! I'm a software enthusiast who recently graduated with a Computer
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
|
|
||||||
Posted
|
Posted
|
||||||
|
|
||||||
on {{ .Date.Format "Mon Jan 2 2006" }}
|
on {{ partial "rel-date" .Date }}
|
||||||
</small>
|
</small>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
3
layouts/partials/rel-date.html
Normal file
3
layouts/partials/rel-date.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<span title="{{ . }}">
|
||||||
|
{{ .Format "Mon Jun 02, 2006" }}
|
||||||
|
</span>
|
Loading…
Reference in a new issue