aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials
diff options
context:
space:
mode:
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. */ -}}