diff options
author | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 20:44:19 +0200 |
---|---|---|
committer | Johannes Löthberg <johannes@kyriasis.com> | 2014-10-21 20:44:19 +0200 |
commit | 8cdfd9ea1821fb8ef508804d1f395fe1da657ca6 (patch) | |
tree | 414cc2c70fef56760ed4d7329218469af274ab69 | |
parent | 9203582d01790aa6b00500f168764efc780d91a1 (diff) | |
download | website-8cdfd9ea1821fb8ef508804d1f395fe1da657ca6.tar.xz |
bupa: fix typo..
-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) |