aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/compile_bbcode.py
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/plugins/compile_bbcode.py')
-rw-r--r--nikola/plugins/compile_bbcode.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nikola/plugins/compile_bbcode.py b/nikola/plugins/compile_bbcode.py
index fd7fe1a..26de727 100644
--- a/nikola/plugins/compile_bbcode.py
+++ b/nikola/plugins/compile_bbcode.py
@@ -68,10 +68,10 @@ class CompileTextile(PageCompiler):
with codecs.open(path, "wb+", "utf8") as fd:
if onefile:
fd.write('[note]<!--\n')
- fd.write('.. title: %s\n' % title)
- fd.write('.. slug: %s\n' % slug)
- fd.write('.. date: %s\n' % date)
- fd.write('.. tags: %s\n' % tags)
+ fd.write('.. title: {0}\n'.format(title))
+ fd.write('.. slug: {0}\n'.format(slug))
+ fd.write('.. date: {0}\n'.format(date))
+ fd.write('.. tags: {0}\n'.format(tags))
fd.write('.. link: \n')
fd.write('.. description: \n')
fd.write('-->[/note]\n\n')