mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-09 18:28:07 +00:00
Replace snippet/recentchanges with timeline macro
This commit is contained in:
17
core/wiki/macros/timeline.tid
Normal file
17
core/wiki/macros/timeline.tid
Normal file
@@ -0,0 +1,17 @@
|
||||
title: $:/core/macros/timeline
|
||||
tags: $:/tags/Macro
|
||||
|
||||
\define timeline()
|
||||
<$list filter="[!is[system]has[modified]!sort[modified]limit[100]eachday[modified]]">
|
||||
<div class="tc-menu-list-item">
|
||||
<$view field="modified" format="date" template={{$:/language/RecentChanges/DateFormat}}/>
|
||||
<$list filter="[sameday{!!modified}!is[system]!sort[modified]]">
|
||||
<div class="tc-menu-list-subitem">
|
||||
<$link to={{!!title}}>
|
||||
<$view field="title"/>
|
||||
</$link>
|
||||
</div>
|
||||
</$list>
|
||||
</div>
|
||||
</$list>
|
||||
\end
|
||||
Reference in New Issue
Block a user