Commit a376988b authored by lunasorcery's avatar lunasorcery
Browse files

cleanup folder layout a little

parent a2e0692f
...@@ -71,7 +71,7 @@ staticAssets = [ ...@@ -71,7 +71,7 @@ staticAssets = [
'Muli-ExtraBoldItalic.ttf', 'Muli-ExtraBoldItalic.ttf',
] ]
for asset in staticAssets: for asset in staticAssets:
shutil.copyfile(asset, f'gen/{asset}') shutil.copyfile(f'static/{asset}', f'gen/{asset}')
print("converting images...") print("converting images...")
...@@ -144,11 +144,11 @@ sharedTemplate = { ...@@ -144,11 +144,11 @@ sharedTemplate = {
'external-url-pouet': 'https://pouet.net/', 'external-url-pouet': 'https://pouet.net/',
'external-url-demozoo': 'https://demozoo.org/', 'external-url-demozoo': 'https://demozoo.org/',
'hash-fonts-css': crc32_file('fonts.css'), 'hash-fonts-css': crc32_file('gen/fonts.css'),
'hash-style-css': crc32_file('style.css'), 'hash-style-css': crc32_file('gen/style.css'),
'hash-favicon-ico': crc32_file('gen/favicon.ico'), 'hash-favicon-ico': crc32_file('gen/favicon.ico'),
'hash-apple-touch-icon-png': crc32_file('gen/apple-touch-icon.png'), 'hash-apple-touch-icon-png': crc32_file('gen/apple-touch-icon.png'),
'hash-manifest-json': crc32_file('manifest.json'), 'hash-manifest-json': crc32_file('gen/manifest.json'),
'svg-globe': open('icons/globe.svg').read(), 'svg-globe': open('icons/globe.svg').read(),
'svg-moon': open('icons/moon.svg').read() 'svg-moon': open('icons/moon.svg').read()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment