% my $av = 'v22'; # asset version % if (session('theme') and session('theme') eq 'dark') { %= stylesheet "/static/${av}/css/dark.min.css", id => 'theme' % } % else { %= stylesheet "/static/${av}/css/light.min.css", id => 'theme' % } %= stylesheet "/static/${av}/css/material-icons.css" %= stylesheet "/static/${av}/css/local.css" %= javascript "/static/${av}/js/jquery-3.4.1.min.js" %= javascript "/static/${av}/js/materialize.min.js" %= javascript "/static/${av}/js/travelynx-actions.min.js" % if (stash('with_geolocation')) { %= javascript "/static/${av}/js/geolocation.min.js" % } % if (stash('with_autocomplete')) { %= javascript "/static/${av}/js/autocomplete.min.js" % }
% if (app->mode eq 'development') {