mirror of
https://codeberg.org/mclemens/amberterm.git
synced 2024-10-01 21:36:07 -04:00
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.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||||
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
{{ with .Site.Params.author }}<meta name="author" content="{{ . }}">{{ end }}
|
||||||
<link rel="stylesheet" href="{{ "css/style.css?v1.41" | relURL }}">
|
<link rel="stylesheet" href="{{ "css/style.css?v1.41" | relURL }}">
|
||||||
|
|
||||||
{{ range .Site.Params.customCSS -}}
|
{{ range .Site.Params.customCSS -}}
|
||||||
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
<link rel="stylesheet" href="{{ . | relURL }}?rnd={{ now.Unix }}">
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<article>
|
<article>
|
||||||
<h1>{{ .Title }}</h1>
|
<h1>{{ .Title }}</h1>
|
||||||
{{ if .Params.showthedate | default "true" }}
|
{{ 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 }}
|
{{ end }}
|
||||||
{{ range .Params.tags }}
|
{{ range .Params.tags }}
|
||||||
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
<a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||||
@ -13,5 +13,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
{{ partial "sidebar.html" . }}
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@ -1,9 +1,5 @@
|
|||||||
<article>
|
<article>
|
||||||
<h1><a href="{{ .Permalink }}">{{ .Title }}</a></h1>
|
<h1><a href="{{ .Permalink }}">[<time>{{ .Date.Format (default "2006-01-02" .Site.Params.dateFmt) }}</time>] {{ .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 }}
|
|
||||||
<div>
|
<div>
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
|
Loading…
Reference in New Issue
Block a user