diff --git a/boot/boot.js b/boot/boot.js index 89c88b8f2..ce656e09d 100644 --- a/boot/boot.js +++ b/boot/boot.js @@ -1038,10 +1038,9 @@ $tw.loadPluginFolder = function(filepath,excludeRegExp) { title: pluginInfo.title, type: "application/json", plugin: "yes", - text: JSON.stringify(pluginInfo,null,4) - } - if("pluginPriority" in pluginInfo) { - fields.pluginPriority = pluginInfo.pluginPriority; + text: JSON.stringify(pluginInfo,null,4), + pluginPriority: pluginInfo.pluginPriority, + pluginType: pluginInfo.pluginType || "plugin" } return fields; } else { diff --git a/themes/tiddlywiki/snowwhite/plugin.info b/themes/tiddlywiki/snowwhite/plugin.info index 3a9bb82f6..10a90aca0 100644 --- a/themes/tiddlywiki/snowwhite/plugin.info +++ b/themes/tiddlywiki/snowwhite/plugin.info @@ -3,5 +3,6 @@ "description": "A simple, plain layout", "author": "JeremyRuston", "version": "0.0.0", - "coreVersion": ">=5.0.0" + "coreVersion": ">=5.0.0", + "pluginType": "theme" }