diff options
-rwxr-xr-x | scripts/bupa | 3 |
1 files changed, 2 insertions, 1 deletions
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) |