diff options
Diffstat (limited to 'jtlib/plugins/new_topic_plugin.py')
-rw-r--r-- | jtlib/plugins/new_topic_plugin.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/jtlib/plugins/new_topic_plugin.py b/jtlib/plugins/new_topic_plugin.py index 09fcbd5..4f44f2b 100644 --- a/jtlib/plugins/new_topic_plugin.py +++ b/jtlib/plugins/new_topic_plugin.py @@ -49,13 +49,6 @@ class NewTopicCommand(cliapp.Plugin): if not os.path.exists(dirname): os.makedirs(dirname) - template = '''\ -[[!meta title="%(title)s"]] - - - -[[!inline pages="link(.)" archive=yes reverse=yes trail=yes]] -''' - + template = self.app.read_template('new_topic.tmpl') with open(pathname, 'w') as f: f.write(template % {'title': title}) |