forked from indymedia/epicyon
Hardcode single default CSS - breaking change
- Themes likely broken at this point - Break existing use of inline CSSalt-html-css
parent
c3554124fa
commit
e44dbc2497
|
@ -531,8 +531,10 @@ def htmlHeaderWithExternalStyle(cssFilename: str, lang='en') -> str:
|
||||||
if fontName:
|
if fontName:
|
||||||
htmlStr += ' <link rel="preload" as="font" type="' + \
|
htmlStr += ' <link rel="preload" as="font" type="' + \
|
||||||
fontFormat + '" href="' + fontName + '" crossorigin>\n'
|
fontFormat + '" href="' + fontName + '" crossorigin>\n'
|
||||||
cssFile = '/' + cssFilename.split('/')[-1]
|
cssFile = cssFilename.split('/')[-1]
|
||||||
htmlStr += ' <link rel="stylesheet" href="' + cssFile + '">\n'
|
# TODO: Clean up - default load only one base css file
|
||||||
|
htmlStr += ' <link rel="stylesheet" href="base.css">\n'
|
||||||
|
#htmlStr += ' <link rel="stylesheet" href="' + cssFile + '">\n'
|
||||||
htmlStr += ' <link rel="manifest" href="/manifest.json">\n'
|
htmlStr += ' <link rel="manifest" href="/manifest.json">\n'
|
||||||
htmlStr += ' <meta name="theme-color" content="grey">\n'
|
htmlStr += ' <meta name="theme-color" content="grey">\n'
|
||||||
htmlStr += ' <title>Epicyon</title>\n'
|
htmlStr += ' <title>Epicyon</title>\n'
|
||||||
|
|
Loading…
Reference in New Issue