Skip to content

Commit

Permalink
add date to index file
Browse files Browse the repository at this point in the history
  • Loading branch information
freetonik committed Jan 20, 2020
1 parent 453d04b commit 75a7fa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<h1>My blog</h1>
<ul>
{{ range . }}
<li><a href="/posts/{{ .Slug }}/">{{ .Title }}</a></li>
<li><a href="/posts/{{ .Slug }}/">{{ .Title }}</a> ({{ .Date.Format "Jan 02, 2006" }})</li>
{{ end }}
</ul>
</div>
Expand Down

0 comments on commit 75a7fa8

Please sign in to comment.