{% extends "base.html" %}
{% import "macros/page_title.html" as pt %}

{% block content %}

{{ pt::page_title(title=page.title) }}

<section class="ptb-100">
  <div class="container">

    <h2>{{ config.extra.practice_name }}</h2>

    <p>
      <strong>Hausärztliche Gemeinschaftspraxis</strong><br>
      {{ config.extra.address_street }}<br>
      {{ config.extra.address_zip_city }}
    </p>

    <p>
      <strong>Telefon:</strong> {{ config.extra.phone }}<br>
      <strong>Telefax:</strong> {{ config.extra.fax }}<br>
      <strong>E-Mail:</strong> <a href="mailto:{{ config.extra.email }}">{{ config.extra.email }}</a>
    </p>

    <h2>Sprechzeiten</h2>

    <table class="tg">
      {% for h in config.extra.opening_hours %}
        <tr>
          <td>{{ h.label }}</td>
          <td>{{ h.time }}&nbsp;Uhr</td>
        </tr>
      {% endfor %}
    </table>

    <br>

    {{ page.content | safe }}

  </div>
</section>

{% endblock %}
