Commit 967059df authored by Luc Didry's avatar Luc Didry

Better CSS minification

parent 6bccb077
Pipeline #48959 passed with stages
in 9 minutes and 45 seconds
Revision history for Perl application Lstu
0.13-1 ????-??-??
- Better CSS minification
0.13 2018-04-22
- Gzip static assets with Mojolicious::Plugin::GzipStatic (increase page load speed)
- Other page load speed improvements
......
......@@ -6,12 +6,8 @@ REAL_LSTU=script/application
LSTU=script/lstu
minify:
@echo "Minification of fontelico.css"
@cd ./themes/default/public/css/ && minify fontelico.css > fontelico.min.css
@echo "Minification of lstu.css"
@cd ./themes/milligram/public/css/ && minify lstu.css > lstu.min.css
@echo "Concatenation of lstu.min.css and milligram.min.css"
@cd ./themes/milligram/public/css/ && cat milligram.min.css lstu.min.css > milli-lstu.min.css
@echo "CSS concatenation"
@cd ./themes/milligram/public/css/ && cat milligram.min.css lstu.css ../../../default/public/css/fontelico.css | csso > milli-lstu.min.css
locales:
$(XGETTEXT) $(EXTRACTDIR) -o $(POT) 2>/dev/null
......
......@@ -46,6 +46,5 @@
<%= content %>
</div>
%= stylesheet '/css/milli-lstu.min.css'
%= stylesheet '/css/fontelico.min.css'
</body>
</html>
Markdown is supported
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