summaryrefslogtreecommitdiff
path: root/lib/VNDB/Util/LayoutHTML.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2021-01-17 10:49:57 +0100
committerYorhel <git@yorhel.nl>2021-01-17 14:01:47 +0100
commit692ef20253a202d4eeb04d4a6491669dc6c30cb5 (patch)
tree6c55208710bdb0b422da090fa722768b42b39f64 /lib/VNDB/Util/LayoutHTML.pm
parentc940802c172654efa6669cf2ff3161c8588f15b0 (diff)
Use SASS for CSS + static asset reoganization
Had been planning to use a more powerful preprocessor for CSS for a while, so that I can also reorganize and clean up the CSS a bit. The cleanup will come later, this is the first step to reorganize the build system a bit and remove skingen.pl. I moved all generated static assets to static/g/ (for _g_enerated), including icons.png and js files. This simplifies management of static/f/ and static/s/, which are fully in git. Skins are now defined as sass files in css/skins/ with their images in static/s/ using plain directory structure.
Diffstat (limited to 'lib/VNDB/Util/LayoutHTML.pm')
-rw-r--r--lib/VNDB/Util/LayoutHTML.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Util/LayoutHTML.pm b/lib/VNDB/Util/LayoutHTML.pm
index 8ff49af6..a9e0c05f 100644
--- a/lib/VNDB/Util/LayoutHTML.pm
+++ b/lib/VNDB/Util/LayoutHTML.pm
@@ -35,7 +35,7 @@ sub htmlFooter { # %options => { pref_code => 1 }
# Abuse an empty noscript tag for the formcode to update a preference setting, if the page requires one.
noscript id => 'pref_code', title => $self->authGetCode('/xml/prefs.xml'), ''
if $o{pref_code} && $self->authInfo->{id};
- script type => 'text/javascript', src => config->{url_static}.'/f/vndb.js?'.config->{version}, '';
+ script type => 'text/javascript', src => config->{url_static}.'/g/vndb.js?'.config->{version}, '';
VNWeb::HTML::_scripts_({});
end 'body';
end 'html';