1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

Fix HelloThere thumbnail for latest version to work in prerelease

This commit is contained in:
jeremy@jermolene.com 2022-12-04 21:00:31 +00:00
parent 38dce175d6
commit 4be0c17dd0

View File

@ -5,4 +5,10 @@ link: Releases
image: New Release Banner
color: #fff
The latest version v<<version>> of ~TiddlyWiki (released on <$view field="released" tiddler={{{ [<version>addprefix[Release ]] }}} format="date" template="DDth MMM YYYY"/>)
\define prerelease-regexp() [0-9]+\.[0-9]+\.[0-9]+\-prerelease
<$list filter="[<version>!regexp<prerelease-regexp>]" variable="ignore">
The latest version v<<version>> of ~TiddlyWiki (released on <$view field="released" tiddler={{{ [<version>addprefix[Release ]] }}} format="date" template="DDth MMM YYYY"/>)
</$list>
<$list filter="[<version>regexp<prerelease-regexp>]" variable="ignore">
This is a prerelease build for testing and review
</$list>