Fixes #1
This commit is contained in:
parent
ad5f17e77a
commit
26effade34
3 changed files with 9 additions and 22 deletions
|
@ -8,11 +8,7 @@
|
|||
<div class="post">
|
||||
<h1 class="post-title"><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<span class="post-date">
|
||||
{{- if isset .Site.Params "dateformat" -}}
|
||||
{{ .Date.Format .Site.Params.dateformat }}
|
||||
{{- else -}}
|
||||
{{ .Date.Format "Jan 02 2006" }}
|
||||
{{- end -}}
|
||||
{{- .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") -}}
|
||||
</span>
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue