From 206fe0cef9989c2a362e0c8964a4ce675c428cc9 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 25 Aug 2020 23:57:08 +0200 Subject: [PATCH] add read time indicator --- CHANGELOG.md | 2 ++ layouts/_default/list.html | 5 +++++ layouts/partials/svg-icon-symbols.html | 2 +- src/icons/timer.svg | 5 +++++ 4 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 src/icons/timer.svg diff --git a/CHANGELOG.md b/CHANGELOG.md index 6018200..821db30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,3 +2,5 @@ - slightly change the date formate displayed on posts - use `.Lastmod` instead of `.Date` on posts the date on updated posts will be prefixed with `Updated on` string + modifications from the same day are ignored + - add read time indicator diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 1f660a4..b3cfab3 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -33,6 +33,11 @@ + + + + + {{ if .Params.weight }} diff --git a/layouts/partials/svg-icon-symbols.html b/layouts/partials/svg-icon-symbols.html index 0a677d8..d01be27 100644 --- a/layouts/partials/svg-icon-symbols.html +++ b/layouts/partials/svg-icon-symbols.html @@ -1 +1 @@ - + \ No newline at end of file diff --git a/src/icons/timer.svg b/src/icons/timer.svg new file mode 100644 index 0000000..d2da6e5 --- /dev/null +++ b/src/icons/timer.svg @@ -0,0 +1,5 @@ + + +timer + +