February 5, 2019

Displaying the most recent Journal entry in TiddlyWiki

I’ve been using a Pinned tag as a way to keep my latest Journal entry visible in the story list. It works, but requires that I add the tag to each new Journal entry and delete the tag from prior entries.

I created a new Most Recent Journal” tiddler and added the following as its text:

<$list filter="[tag[Journal]sort[created]last[]]">
<h2>Journal for <$view field="created" format="date" template="DDD DDth MMM YYYY"/></h2>
<$transclude  mode="block"/>

<small><$link>Open</$link></small>
</$list>

That’s way better. The new tiddler will always show (transclude) the correct Journal entry without me doing anything special. Here’s what it looks like.

Stolen from this thread.


tiddlywiki


Previous post
Die Trying (Jack Reacher #2) This was my second Jack Reacher novel. I enjoyed it, but I’m not sure how many more I’ll end up reading. So many handy coincidences. So many
Next post
I spend hours getting some workflow or app or whatever JUST RIGHT, then stop using it the next day.