Prepend slash

merge-requests/8/head
Bob Mottram 2020-11-12 17:18:14 +00:00
parent c9ef1cccb1
commit 56a493d91a
1 changed files with 1 additions and 1 deletions

View File

@ -442,7 +442,7 @@ def htmlHeaderWithExternalStyle(cssFilename: str, lang='en') -> str:
htmlStr += '<html lang="' + lang + '">\n'
htmlStr += ' <head>\n'
htmlStr += ' <meta charset="utf-8">\n'
cssFile = cssFilename.split('/')[-1]
cssFile = '/' + cssFilename.split('/')[-1]
htmlStr += ' <link rel="stylesheet" href="' + cssFile + '">\n'
htmlStr += ' <link rel="manifest" href="/manifest.json">\n'
htmlStr += ' <meta name="theme-color" content="grey">\n'