From 9ffe61a01c85e9727c437ff4d329da6edc811de2 Mon Sep 17 00:00:00 2001 From: tdro Date: Sun, 15 Oct 2023 17:17:20 -0400 Subject: themes/default/layouts/partials/card-meta-header: Use more consistent icons --- themes/default/layouts/partials/card-meta-header.html | 4 ++-- themes/default/layouts/partials/meta-context-menu.html | 2 +- themes/default/layouts/partials/meta-read-time.html | 6 +++--- themes/default/layouts/partials/meta-word-count.html | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) (limited to 'themes/default/layouts/partials') diff --git a/themes/default/layouts/partials/card-meta-header.html b/themes/default/layouts/partials/card-meta-header.html index fd516f5..3fcd670 100644 --- a/themes/default/layouts/partials/card-meta-header.html +++ b/themes/default/layouts/partials/card-meta-header.html @@ -16,10 +16,10 @@ {{- partial "meta-context-menu.html" . -}} - {{- partial "meta-read-time.html" . -}} - {{- partial "meta-word-count.html" . -}} + {{- partial "meta-read-time.html" . -}} + {{- partial "meta-expiry-date.html" . -}} diff --git a/themes/default/layouts/partials/meta-context-menu.html b/themes/default/layouts/partials/meta-context-menu.html index 9429355..89f88d2 100644 --- a/themes/default/layouts/partials/meta-context-menu.html +++ b/themes/default/layouts/partials/meta-context-menu.html @@ -13,7 +13,7 @@ {{- partial "meta-markdown.html" . -}} - {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/file-text.svg")) -}} + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/notes.svg")) -}} Plaintext diff --git a/themes/default/layouts/partials/meta-read-time.html b/themes/default/layouts/partials/meta-read-time.html index 69c0ffa..1af03e7 100644 --- a/themes/default/layouts/partials/meta-read-time.html +++ b/themes/default/layouts/partials/meta-read-time.html @@ -4,9 +4,9 @@ {{- $seconds = "1" -}} {{- end -}} - - {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/clock.svg")) -}} - {{ $seconds }} sec + + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/eye.svg")) }} + {{ $seconds }}s read {{- /* This comment removes trailing newlines and white spaces. */ -}} {{- /* This comment removes trailing newlines and white spaces. */ -}} diff --git a/themes/default/layouts/partials/meta-word-count.html b/themes/default/layouts/partials/meta-word-count.html index 8aaa30d..5fd5451 100644 --- a/themes/default/layouts/partials/meta-word-count.html +++ b/themes/default/layouts/partials/meta-word-count.html @@ -16,14 +16,14 @@ title=" "> {{- /* This comment removes trailing newlines and white spaces. */ -}} - {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/file-text.svg")) -}} + {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/tabler/notes.svg")) -}} {{- if $wordLimit -}} {{ .WordCount }} {{- else -}} - {{ .WordCount }} + {{ .WordCount }} {{- end -}} - /{{ $limit }} words + /{{ $limit }} words {{- /* This comment removes trailing newlines and white spaces. */ -}} {{- /* This comment removes trailing newlines and white spaces. */ -}} -- cgit v1.2.3