fb6d09cbcb
Moves hardcoded address, phone/fax/email, and Sprechzeiten table out of content/contact.md into a dedicated contact.html template that renders them from config.extra — sharing a single source of truth with the footer. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
44 lines
947 B
HTML
44 lines
947 B
HTML
{% 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 }} Uhr</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
|
|
<br>
|
|
|
|
{{ page.content | safe }}
|
|
|
|
</div>
|
|
</section>
|
|
|
|
{% endblock %}
|