aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-10-15 17:17:20 -0400
committertdro <tdro@noreply.example.com>2023-10-15 17:17:20 -0400
commit9ffe61a01c85e9727c437ff4d329da6edc811de2 (patch)
treede81c582b2e06993116c94d7cf241adbc8ca15f9 /themes/default/layouts/partials
parenta098764110b882a261fe0bf6ad14b7a0ea6e9f72 (diff)
downloadcanory-9ffe61a01c85e9727c437ff4d329da6edc811de2.tar.gz
canory-9ffe61a01c85e9727c437ff4d329da6edc811de2.tar.bz2
canory-9ffe61a01c85e9727c437ff4d329da6edc811de2.zip
themes/default/layouts/partials/card-meta-header: Use more consistent icons
Diffstat (limited to 'themes/default/layouts/partials')
-rw-r--r--themes/default/layouts/partials/card-meta-header.html4
-rw-r--r--themes/default/layouts/partials/meta-context-menu.html2
-rw-r--r--themes/default/layouts/partials/meta-read-time.html6
-rw-r--r--themes/default/layouts/partials/meta-word-count.html6
4 files changed, 9 insertions, 9 deletions
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" . -}}
</header>
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" . -}}
<micro-metadata-plain>
<a href="{{ $plain }}">
- {{- 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")) -}}
<span>Plaintext</span>
</a>
</micro-metadata-plain>
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 -}}
-<micro-metadata-readtime title="Takes {{ $seconds }} second{{- if not (eq $seconds "1") -}}s{{- end }} to read">
- {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/clock.svg")) -}}
- <span>{{ $seconds }} sec</span>
+<micro-metadata-readtime title="{{ $seconds }} second{{- if not (eq $seconds "1") -}}s{{- end }} to read">
+ {{- safeHTML (readFile (print (partial "function-paths.html").static "/icons/feather/eye.svg")) }}
+ <span>{{ $seconds }}s read</span>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</micro-metadata-readtime>
{{- /* 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. */ -}}
<word-limit>
- {{- 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")) -}}
<word-count>
{{- if $wordLimit -}}
<em>{{ .WordCount }}</em>
{{- else -}}
- {{ .WordCount }}
+ <sup>{{ .WordCount }}</sup>
{{- end -}}
- /{{ $limit }} words
+ /<sub>{{ $limit }}</sub> words
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</word-count>
{{- /* This comment removes trailing newlines and white spaces. */ -}}