changed how time/date are shown in summary
This commit is contained in:
parent
42bd540a2c
commit
d5bc010629
|
@ -9,6 +9,7 @@
|
|||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
<link rel="stylesheet" href="{{ "css/style.css?v1.41" | relURL }}">
|
||||
|
||||
{{ range .Site.Params.customCSS -}}
|
||||
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||
{{- end }}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<article>
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ if .Params.showthedate | default "true" }}
|
||||
<b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b>
|
||||
<b><time>{{ .Date.Format (default "2006-01-02" .Site.Params.dateFmt) }} // </time></b>
|
||||
{{ end }}
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
|
@ -13,5 +13,4 @@
|
|||
</div>
|
||||
</article>
|
||||
</main>
|
||||
{{ partial "sidebar.html" . }}
|
||||
{{ end }}
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
<article>
|
||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
||||
<b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b>
|
||||
{{ range .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
{{ end }}
|
||||
<h1><a href="{{ .Permalink }}">[<time>{{ .Date.Format (default "2006-01-02" .Site.Params.dateFmt) }}</time>] {{ .Title }}</a></h1>
|
||||
<div>
|
||||
{{ .Summary }}
|
||||
{{ if .Truncated }}
|
||||
|
|
Loading…
Reference in New Issue