<!doctype html>
<html lang="de">
<meta charset="utf-8">
<link rel="stylesheet" href="{{ '/static/style.css'|url }}">
<link rel="icon" type="image/png" href="{{ '/favicon-96x96.png'|url }}" sizes="96x96">
<link rel="icon" type="image/svg+xml" href="{{ '/favicon.svg'|url }}">
<link rel="shortcut icon" href="{{ '/favicon.ico'|url }}">
<link rel="apple-touch-icon" sizes="180x180" href="{{ '/apple-touch-icon.png'|url }}">
<meta name="apple-mobile-web-app-title" content="PCS">
{% if this._path == '/' %}<meta name="description" content="Verein Pistolenclub Stammertal in Stammheim/Unterstammheim. Für Pistolen-/Luftpistolen-Schützen. 25m/50m & 10m. Obligatorisches Programm (Obli) für Pistole.">{% endif%}
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="{{ '/site.webmanifest'|url }}">
<title>{% if this._path == '/' %}Home — PCS{% else %}{% block title %}Welcome{% endblock %} — PCS{% endif%}</title>
<body>
  <header>
    <div class="inner_header">
      <nav>
        <div class="left_header">
          <ul class="nav">
            <li class="{% if this._path == '/' %}active{% endif
              %}"><a href="{{ '/'|url }}"><img class="header-logo" src="/images/logo.svg" alt="PCS Logo">Pistolenclub Stammertal</a></li>
          </ul>
        </div>
        <div class="right_header">
          <label for='menu' tabindex="0">
            &#x2630;
          </label>
          <input id='menu' type='checkbox'>

            <ul class="nav navbar-nav">
              {% set navigation = {
                'de': [
                  ['/termine', 'Termine'],
                  ['/vorstand', 'Vorstand'],
                  ['/about', 'Über uns'],
                  ['/kontakt', 'Kontakt aufnehmen']
                ],
                'fr': [
                  ['/termine', 'Événements'],
                  ['/vorstand', 'Direction'],
                  ['/about', 'À propos'],
                  ['/kontakt', 'Contactez nous']
                ]
              } %}
              
              {% for href, title in navigation[alt or 'de'] %}
                <li class="{% if this.is_child_of(href) %}active{% endif %}
                    {% if href == '/kontakt' %} button{% endif %}">
                  <a href="{{ (href|url(alt=alt)) }}">{{ title }}</a>
                </li>
              {% endfor %}
            </ul>


        </div>
      </nav>
    </div>
  </header>
  <div class="page{% if this._path == '/' %} home{% endif
              %}{%if this._path == '/termine' %} termine{% endif
              %}{%if this._path == '/vorstand' %} vorstand{% endif
              %}">
      {% block body %}{% endblock %}
  </div>
  <footer>
    <div class="inner_footer">
      <div class="left_footer">
        &nbsp;<br>
        Pistolenclub Stammertal<br>
        8476 Unterstammheim<br>
      </div>
      <div class="middle_footer">
        <a href="/impressum/">Impressum</a>
      </div>
      <div class="right_footer">
        &copy; Copyright 2025 by PC Stammertal.
      </div>
    </div>
  </footer>
</body>
</html>