mirror of
https://github.com/fruworg/themu.git
synced 2024-11-16 07:07:16 +03:00
date fix
This commit is contained in:
parent
ee08ff3bc2
commit
d7785c64ef
@ -9,7 +9,7 @@
|
|||||||
{{- range .Data.Pages -}}
|
{{- range .Data.Pages -}}
|
||||||
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</span>
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.themes.themu.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</span>
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<article>
|
<article>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<h1 class="title">{{ .Title }}</h1>
|
<h1 class="title">{{ .Title }}</h1>
|
||||||
<div class="meta">Опубликовано <time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</div>
|
<div class="meta">Опубликовано <time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.themes.themu.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }}</time> <span class="draft-label">DRAFT</span> {{ end }}</div>
|
||||||
</div>
|
</div>
|
||||||
{{ if isset .Params "tldr" }}
|
{{ if isset .Params "tldr" }}
|
||||||
<div class="tldr">
|
<div class="tldr">
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{{- range .Data.Pages -}}
|
{{- range .Data.Pages -}}
|
||||||
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
|
||||||
<li class="post">
|
<li class="post">
|
||||||
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6</date> {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</span>
|
<a href="{{ .RelPermalink }}">{{.Title}}</a> <span class="meta"><time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.themes.themu.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6</date> {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</span>
|
||||||
</li>
|
</li>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
{{ range $paginator.Pages }}
|
{{ range $paginator.Pages }}
|
||||||
<section class="list-item">
|
<section class="list-item">
|
||||||
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
|
<h1 class="title"><a href="{{ .RelPermalink }}">{{.Title}}</a></h1>
|
||||||
<time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
|
<time datetime="{{ .Date.Format "01-02-2006 15:04:05"}}">{{ .Site.Data.Strings.publishedon}} {{.Date.Day}} {{ index $.Site.Data.themes.themu.months.months .Date.Month }} {{.Date.Year}}, {{ .Date.Format "15:04" }} UTC+6 {{ if .Draft }} <span class="draft-label">DRAFT</span> {{ end }}</time>
|
||||||
<br>{{ template "partials/pagedescription.html" . }}
|
<br>{{ template "partials/pagedescription.html" . }}
|
||||||
</section>
|
</section>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user