mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 06:44:50 +00:00
5d43cd7408
Addressing this tweet: https://twitter.com/s_stryjecki/status/629349768280604672
15 lines
382 B
Plaintext
15 lines
382 B
Plaintext
title: $:/core/ui/ViewTemplate/subtitle
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
\define folded-state()
|
|
$:/state/folded/$(currentTiddler)$
|
|
\end
|
|
|
|
<$reveal type="nomatch" state=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
|
|
<div class="tc-subtitle">
|
|
<$link to={{!!modifier}}>
|
|
<$view field="modifier"/>
|
|
</$link> <$view field="modified" format="relativedate"/>
|
|
</div>
|
|
</$reveal>
|