aboutsummaryrefslogtreecommitdiffstats
path: root/nikola/plugins/compile_html.py
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2013-03-13 20:58:39 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2013-03-13 20:58:39 -0300
commit8b14a1e5b2ca574fdd4fd2377567ec98a110d4b6 (patch)
tree0895935489e4920d18824f7fb3a0d799649a27c3 /nikola/plugins/compile_html.py
parent878ba1152ebc64a4a2609d23c9e400a6111db642 (diff)
Imported Upstream version 5.4.2upstream/5.4.2
Diffstat (limited to 'nikola/plugins/compile_html.py')
-rw-r--r--nikola/plugins/compile_html.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nikola/plugins/compile_html.py b/nikola/plugins/compile_html.py
index 850a3e5..6c1c381 100644
--- a/nikola/plugins/compile_html.py
+++ b/nikola/plugins/compile_html.py
@@ -51,10 +51,10 @@ class CompileHtml(PageCompiler):
with codecs.open(path, "wb+", "utf8") as fd:
if onefile:
fd.write('<!-- \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('-->\n\n')