diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 13:20:39 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-15 13:20:39 +0300 |
commit | deaf2fd002fcf71af61afcb4b553de600447f0a7 (patch) | |
tree | 0568556cdcc73498d931da998dd1f887d2133a80 /layouts/partials | |
parent | c5a67bb508445a803289cb4902164f378236284e (diff) |
Auto-commit 2024-12-15
Diffstat (limited to 'layouts/partials')
-rw-r--r-- | layouts/partials/list.html | 13 | ||||
-rw-r--r-- | layouts/partials/single/header.html | 2 |
2 files changed, 7 insertions, 8 deletions
diff --git a/layouts/partials/list.html b/layouts/partials/list.html index 7d14c4d..7c17687 100644 --- a/layouts/partials/list.html +++ b/layouts/partials/list.html @@ -2,12 +2,9 @@ <h1 class="post-title fw-semibold"><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></h1> {{ if .Date }} <div class="d-flex align-items-center mb-4 text-muted"> - <span class="d-flex align-items-center ms-3" title="{{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}"> - <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="currentColor" class="me-2" viewBox="0 0 16 16"> - <path d="M11 6.5a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v1a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5z"></path> - <path d="M3.5 0a.5.5 0 0 1 .5.5V1h8V.5a.5.5 0 0 1 1 0V1h1a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h1V.5a.5.5 0 0 1 .5-.5M1 4v10a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V4z"></path> - </svg> - {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} + <span class="d-flex align-items-center" title="{{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}"> + {{ partial "icon.html" "calendar" }} + {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} </span> </div> {{ end }} @@ -19,7 +16,9 @@ {{ else }} {{ .Summary }} {{ if .Truncated }} - <div><a class="btn btn-primary" href="{{ .RelPermalink }}">Далее...</a></div> + <div class="truncated"> + <a class="btn btn-primary" href="{{ .RelPermalink }}">Далее...</a> + </div> {{ end }} {{ end }} <div class="p-tags"> diff --git a/layouts/partials/single/header.html b/layouts/partials/single/header.html index f5ece1f..5566c56 100644 --- a/layouts/partials/single/header.html +++ b/layouts/partials/single/header.html @@ -3,7 +3,7 @@ <div class="d-flex align-items-center mb-4 text-muted"> <span class="d-flex align-items-center" title="{{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}}"> {{ partial "icon.html" "calendar" }} - {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} + {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} </span> </div> {{ end }} |