aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/meta-read-time.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/meta-read-time.html')
-rw-r--r--themes/default/layouts/partials/meta-read-time.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/meta-read-time.html b/themes/default/layouts/partials/meta-read-time.html
index bc32f41..dbc91f2 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>
+<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")) -}}
- <read-time title="Takes {{ $seconds }} second{{- if not (eq $seconds "1") -}}s{{- end }} to read">{{ $seconds }} sec</read-time>
+ <span>{{ $seconds }} sec</span>
{{- /* This comment removes trailing newlines and white spaces. */ -}}
</micro-metadata-readtime>
{{- /* This comment removes trailing newlines and white spaces. */ -}}