mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Fixed tiddler macro context for transclusions
Before this view macros in the transcluded tiddler displayed fields from the tiddler doing the transcluding
This commit is contained in:
parent
d399a01f15
commit
1aa9b084e2
@ -30,7 +30,7 @@ exports.macro = {
|
||||
return store.renderText(targetTiddler.type,text,type,tiddler.title);
|
||||
} else {
|
||||
// There's no parameterisation, so we can just render the target tiddler directly
|
||||
return store.renderTiddler(type,params.target,tiddler.title);
|
||||
return store.renderTiddler(type,params.target);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -5,3 +5,7 @@ title: SeventhTiddler
|
||||
<<echo {{tiddler.title}}>>
|
||||
|
||||
<<echo {{"window"}}>>
|
||||
|
||||
<<tiddler SixthTiddler>>
|
||||
|
||||
<<list all>>
|
||||
|
@ -5,4 +5,3 @@ modifier: Jermolene
|
||||
<<view title>>
|
||||
<<view modified date>>
|
||||
<<view modifier link>>
|
||||
<<list all>>
|
||||
|
Loading…
Reference in New Issue
Block a user