From 55fa91d7f24a3cee6a42a3d2c64bc6f3df76a7dc Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 12 Oct 2022 19:44:46 -0400 Subject: themes/default/layouts/_default/summary: Use data-expires attribute --- assets/css/default.css | 1 - themes/default/layouts/_default/summary.html | 47 ++++++++++++++-------------- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/assets/css/default.css b/assets/css/default.css index 4770202..8401235 100644 --- a/assets/css/default.css +++ b/assets/css/default.css @@ -782,7 +782,6 @@ column-middle { micro-card, micro-tags, -micro-expires, micro-article { display: block; } diff --git a/themes/default/layouts/_default/summary.html b/themes/default/layouts/_default/summary.html index 7ccaa12..e5b1154 100644 --- a/themes/default/layouts/_default/summary.html +++ b/themes/default/layouts/_default/summary.html @@ -1,31 +1,32 @@ {{- $limit := gt .WordCount 75 -}} {{- if $limit -}}{{- end -}} + - {{ if .ExpiryDate }}{{ end }} - - - {{ partial "profile-picture.html" . }} - - - {{ if $limit }} - - - - - - {{ end }} - - {{ partial "card-meta-header.html" . }} - - {{ if .Params.unsafe }}{{ partial "card-unsafe.html" "begin" }}{{ end }} - {{- partial "function-content.html" .Content | safeHTML -}} - {{ if .Params.unsafe }}{{ partial "card-unsafe.html" "end" }}{{ end }} - {{ partial "meta-tags.html" . }} - - - {{ if .ExpiryDate }}{{ end }} + + + {{ partial "profile-picture.html" . }} + + + {{ if $limit }} + + + + + + {{ end }} + + {{ partial "card-meta-header.html" . }} + + {{ if .Params.unsafe }}{{ partial "card-unsafe.html" "begin" }}{{ end }} + {{- partial "function-content.html" .Content | safeHTML -}} + {{ if .Params.unsafe }}{{ partial "card-unsafe.html" "end" }}{{ end }} + {{ partial "meta-tags.html" . }} + + -- cgit v1.2.3