diff --git a/distribusi/distribusi.py b/distribusi/distribusi.py index 4291f84..8b67730 100644 --- a/distribusi/distribusi.py +++ b/distribusi/distribusi.py @@ -164,9 +164,9 @@ def render_dir(args, root): tstring = m.group('tstring') rename = m.group('name') if rename == "": - a = "
" + a = "
" else: - a = "
{}
".replace('{}', rename) + a = "
{}
".replace('{}', rename) a = a + open(full_path).read() + "
" a = a.replace('{}', tstring) else: @@ -283,9 +283,9 @@ def distribusify(args, directory): # noqa tstring = m.group('tstring') rename = m.group('name') if rename == "": - a = "
" + a = "
" else: - a = "
{}
".replace('{}', rename) + a = "
{}
".replace('{}', rename) a = a + open(full_path).read() + "
" a = a.replace('{}', tstring) else: diff --git a/distribusi/page_template.py b/distribusi/page_template.py index 2ab67a5..bd8f9ce 100644 --- a/distribusi/page_template.py +++ b/distribusi/page_template.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- html_head = """ - +