mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-17 07:47:24 +00:00
Improved the tiddler macro
Now you can transclude tiddlers as templates
This commit is contained in:
@@ -349,7 +349,7 @@ WikiStore.prototype.renderTiddler = function(targetType,title,asTitle,options) {
|
||||
return {};
|
||||
});
|
||||
if(tiddler) {
|
||||
if(asTitle) {
|
||||
if(asTitle && asTitle !== title) {
|
||||
var asTiddler = this.getTiddler(asTitle);
|
||||
return stitcher("div",{
|
||||
"data-tw-render-tiddler": title,
|
||||
|
||||
Reference in New Issue
Block a user