% while (my ($key, $value) = each %{stash('twitter') // {}}) { % } % while (my ($key, $value) = each %{stash('opengraph') // {}}) { % } % my $av = 'v43'; # 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" % if (stash('with_map')) { %= stylesheet "/static/${av}/leaflet/leaflet.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 (stash('with_map')) { %= javascript "/static/${av}/leaflet/leaflet.js" % } % if (app->mode eq 'development') {
Development Mode – Datenbank: <%= app->config->{db}->{database} %> @ <%= app->config->{db}->{host} %>
% }
% if (is_user_authenticated()) { % my $acc = current_user(); % if ($acc and $acc->{deletion_requested}) { %= include '_deletion_note', timestamp => $acc->{deletion_requested} % } % } %= content