mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 19:47:20 +00:00
Allow a suffix to be specified for indirected files
As well as the existing ability to add a prefix
This commit is contained in:
parent
d99ed1816d
commit
5e93778112
@ -1103,6 +1103,9 @@ $tw.loadTiddlersFromPath = function(filepath,excludeRegExp) {
|
||||
if(tidInfo.prefix) {
|
||||
text = tidInfo.prefix + text;
|
||||
}
|
||||
if(tidInfo.suffix) {
|
||||
text = text + tidInfo.suffix;
|
||||
}
|
||||
tidInfo.fields.text = text;
|
||||
tiddlers.push({tiddlers: [tidInfo.fields]});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user