<!doctype html>
<html lang="{{ @LANG }}">
    <head>
        <meta content="text/html; charset=utf-8" http-equiv="content-type" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <check if="{{ @hideFromSearchEngines }}">
          <meta name="robots" content="noindex, nofollow">
        </check>
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <link rel="icon" href="/{{ @RESOURCES }}favicon.png" />
        
        <link href="/{{ @RESOURCES }}featherlight.min.css" type="text/css" rel="stylesheet" />
        
        <script type="text/javascript" src="/{{ @RESOURCES }}jquery-3.3.1.min.js"></script>
        <script type="text/javascript" src="/{{ @RESOURCES }}script.js"></script>
        
        <link type="text/css" href="/{{ @RESOURCES }}style.css" rel="stylesheet" />
        <title>{{ @title }}</title>
        <style>
          li { margin-left:1em; }
        </style>
    </head>
    
    <body class="{{ @bodyClass }}">
        
        <div id="mobile-nav">
            <a class="menu-toggle" onClick="javascript:toggle_menu();"></a>
            <div class="the_list">
                <include href="navigation.htm" with="menu={{ @navi.main }}" />
                <include href="navigation.htm" with="menu={{ @navi.footer }}" />
                <include href="navigation.htm" with="menu={{ @navi.languages }}" />
            </div>
        </div> <!-- #mobile-nav -->

        
        <div id="page-wrap">
            
            <header>
                <include href="header.htm">
            </header>

            <nav id="main-nav">
                <include href="navigation.htm"  with="menu={{ @navi.main }}" />
                <div class="network">
                    <include href="navigation.htm" with="menu={{ @navi.network }}">
                </div>    
            </nav>
            
            <div id="platzhalter"></div>
            
            <section id="content">
                <include href="maincontent.htm" />
                <include href="sidebar.htm" />
            </section>
            
            <footer id="main-footer">
                <nav>
                    <include href="navigation.htm" with="menu={{ @navi.footer }}" />
                </nav>
                <nav id="languages">
                    <include href="navigation.htm" with="menu={{ @navi.languages }}" />
                </nav>
            </footer>

        </div> <!-- #page-wrap -->
        
        <check if="{{ @backend }}">
            <div id="admin-panel">{{ @backend | raw }}</div>
        </check>
        
        <script type="text/javascript" src="/{{ @RESOURCES }}featherlight.min.js"></script>
        
    </body>
</html>
