Reset the clock with post_last_modified
There's some phenomena whereby curtains just leap off the wall when I am around. I don't even have to touch them. But from canvassing various family, friends, and total strangers, I definitely have curtains falling down more than average.
So when I went upstairs tonight and closed the bedroom curtains and they fell off the wall... I ignored them and made a 'time since last' page using post_last_modified. You can see my Curtains counter in action.
It's amazingly straightforward.
<style>
.curtains {
text-align: center;
font-family: monospace;
font-size: 4rem;
font-weight: bold; }
</style>
Time since any curtains in my house fell down:
<div class="curtains">
{{ post_last_modified }}
</div>
And the next time my curtains fall down I just need to go republish the page and it will reset for me.
Previous •