From 43c36a82ff958937a169a9506fcb309e442d25be Mon Sep 17 00:00:00 2001 From: Srevin Saju Date: Tue, 15 Sep 2020 11:33:37 +0300 Subject: [PATCH] fix: fix path to bundles on relative paths --- aslo4-static/templates/app.html | 2 +- aslo4/generator.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/aslo4-static/templates/app.html b/aslo4-static/templates/app.html index 2ec07ae..722af42 100644 --- a/aslo4-static/templates/app.html +++ b/aslo4-static/templates/app.html @@ -44,7 +44,7 @@

Tags

style="margin-bottom: 0.25rem"> Source Code - + Download diff --git a/aslo4/generator.py b/aslo4/generator.py index abe1fd5..5724f5f 100755 --- a/aslo4/generator.py +++ b/aslo4/generator.py @@ -739,11 +739,11 @@ def generate_web_page( licenses=''.join(html_parsed_licenses), description_html_div='', # TODO: Extract from README.md - bundle_path='../bundles/{}'.format( + bundle_path='/bundles/{}'.format( _bundle_path.split(os.path.sep)[-1]), tag_list_html_formatted=''.join(tags_html_list), author_list_html_formatted=''.join(authors_html_list), - icon_path='../icons/{}'.format( + icon_path='/icons/{}'.format( _icon_path.split(os.path.sep)[-1]), new_feature_html_div=new_in_this_version_parsed, changelog_html_div=changelog_formatted_html,