Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PoroCYon
executable.graphics
Commits
a376988b
Commit
a376988b
authored
Jun 20, 2021
by
lunasorcery
Browse files
cleanup folder layout a little
parent
a2e0692f
Changes
8
Hide whitespace changes
Inline
Side-by-side
build-site.py
View file @
a376988b
...
@@ -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
()
...
...
Muli-Bold.ttf
→
static/
Muli-Bold.ttf
View file @
a376988b
File moved
Muli-ExtraBoldItalic.ttf
→
static/
Muli-ExtraBoldItalic.ttf
View file @
a376988b
File moved
Muli-Regular.ttf
→
static/
Muli-Regular.ttf
View file @
a376988b
File moved
fonts.css
→
static/
fonts.css
View file @
a376988b
File moved
manifest.json
→
static/
manifest.json
View file @
a376988b
File moved
script.js
→
static/
script.js
View file @
a376988b
File moved
style.css
→
static/
style.css
View file @
a376988b
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment