Code Snippet for a Read timer in header #592
Heiss
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
i want to share a small snippet i made for my garden. It adds a read timer and icon in the timestamps-box after the creation and modified dates.
I placed it in "src/site/_includes/components/user/notes/header/001-readtimer.njk".
It is a little complicated, but it works great for my case. I need the workaround, because the content was not loaded correctly without the delay. The icon is right in place while loading and the text will be added after some moments. It is fine for me. :)
Feel free to adjust it to your needs and give back your thoughts. :)
Beta Was this translation helpful? Give feedback.
All reactions