Luc Didry 91e078
% # vim:set sw=4 ts=4 sts=4 ft=html.epl expandtab:
Luc Didry 986e77
% my $lang = $self->languages;
Luc Didry 986e77
%    $lang =~ s/-(.*)/_\U$1/;
Luc Didry 2a1059
% my $body_class = ($lang eq 'ar') ? 'class="rtl"' : '';
Luc Didry 91e078
Luc Didry 91e078
<html>
Luc Didry 91e078
    <head>
Luc Didry 2a1059
        <title>
Luc Didry 2a1059
            <%= config('instance_name') %>
Luc Didry 2a1059
        </title>
Luc Didry 91e078
        <meta charset="utf-8">
Luc Didry 2a1059
        <meta name="mobile-web-app-capable"                content="yes">
Luc Didry 2a1059
        <meta name="apple-mobile-web-app-capable"          content="yes">
Luc Didry 91e078
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
Luc Didry 2a1059
        <link rel="icon"                         href="<%= url_for('/img/favicon.png') %>" type="image/png">
Luc Didry 2a1059
        <link rel="icon"                         href="<%= url_for('/img/lufi128.png') %>" sizes="128x128" >
Luc Didry 2a1059
        <link rel="icon"                         href="<%= url_for('/img/lufi196.png') %>" sizes="196x196" >
Luc Didry 2a1059
        <link rel="apple-touch-icon"             href="<%= url_for('/img/lufi60.png') %>">
Luc Didry 2a1059
        <link rel="apple-touch-icon"             href="<%= url_for('/img/lufi76.png') %>"  sizes="76x76">
Luc Didry 2a1059
        <link rel="apple-touch-icon"             href="<%= url_for('/img/lufi120.png') %>" sizes="120x120">
Luc Didry 2a1059
        <link rel="apple-touch-icon"             href="<%= url_for('/img/lufi152.png') %>" sizes="152x152">
Luc Didry 2a1059
        <link rel="apple-touch-icon-precomposed" href="<%= url_for('/img/lufi128.png') %>" sizes="128x128">
Luc Didry 2a1059
Luc Didry 2a1059
        %= stylesheet '/css/lufi.min.css'
Luc Didry 2a1059
Luc Didry 2a1059
        %= javascript '/js/ie-detection.js', defer => undef
Luc Didry 2a1059
        %= javascript '/partial/layout.js',  defer => undef
Luc Didry 2a1059
        %= javascript '/js/lufi-common.js',  defer => undef
Luc Didry 2a1059
        %= javascript '/js/alpine.min.js',   defer => undef
Luc Didry 2a1059
Luc Didry d3222b
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
Luc Didry 91e078
    </head>
Luc Didry 2a1059
    <body <%== $body_class %>>
Luc Didry 2a1059
        %= include 'layouts/nav/navbar'
Luc Didry 2a1059
        <header>
Luc Didry 2a1059
            % if (defined(config('broadcast_message'))) {
Luc Didry 2a1059
                
Luc Didry 2a1059
                    
Luc Didry 2a1059
                        <%= config('broadcast_message') %>
Luc Didry 2a1059
                    
Luc Didry 2a1059
                
Luc Didry 2a1059
            % }
Luc Didry 2a1059
        </header>
Luc Didry 2a1059
        <main>
Luc Didry d3222b
            <%= content %>
Luc Didry 2a1059
        </main>
Luc Didry 2a1059
        % if (defined(config('piwik_img'))) {
Luc Didry 2a1059
            <footer>
Luc Didry 2a1059
                
Luc Didry 2a1059
            </footer>
Luc Didry 2a1059
        % }
Luc Didry 91e078
    </body>
Luc Didry 91e078
</html>