From 8cdfd9ea1821fb8ef508804d1f395fe1da657ca6 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 21 Oct 2014 20:44:19 +0200 Subject: bupa: fix typo.. --- scripts/bupa | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/bupa') diff --git a/scripts/bupa b/scripts/bupa index dfb03df..971cfb6 100755 --- a/scripts/bupa +++ b/scripts/bupa @@ -56,6 +56,7 @@ def build_entry(filename, atom_feed): entry = parse(filename) entry.id = filename_to_id(filename) entry.page = filename_to_extless(filename) + '.html' + entry.srcpage = filename_to_extless(filename) + '.rst' entry.body = reST_to_html(entry.body) atom_feed.add( title=entry.title, @@ -100,7 +101,7 @@ def build_page(jinja_env, template, pagename): page = parse('src/'+pagename+'.rst') page.body = reST_to_html(page.body) page.article_id = pagename - write_page(page, page.header, pagename+'html', template, jinja_env) + write_page(page, page.header, pagename+'.html', template, jinja_env) def write_page(page, header, filename, template, jinja_env): template = jinja_env.get_template(template) -- cgit v1.2.3-70-g09d2