feat: legal (Impressum), contact, page template, and map shortcode

- page.html generic single-page template
- legal.md with slug=impressum to match live URL
- contact.md with practice info, hours, map embed
- map shortcode (iframe-based) usable from markdown
- Home template inlines the map iframe directly (shortcodes can't be called from templates)
This commit is contained in:
2026-05-20 22:49:02 +02:00
parent 7deb8372cf
commit 441f3b7ed9
5 changed files with 163 additions and 2 deletions
+11 -2
View File
@@ -92,7 +92,16 @@
{# Notfall block intentionally skipped — was `published: false` in Grav. #}
{# ───────── Map ───────── #}
{# Map shortcode added in Task 20; left as a placeholder comment here. #}
{# {{ map() }} #}
<section class="map-section">
<iframe
src="https://maps.google.com/maps?q=Kaiserstr.+23,+42329+Wuppertal&t=&z=15&ie=UTF8&iwloc=&output=embed"
width="100%"
height="450"
style="border:0"
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
title="Karte: Praxis am Lienhardplatz">
</iframe>
</section>
{% endblock %}
+21
View File
@@ -0,0 +1,21 @@
{% extends "base.html" %}
{% block content %}
<section class="single-page-title">
<div class="container text-center hidden-xs">
<h2>{{ page.title }}</h2>
</div>
</section>
<section class="ptb-100">
<div class="container">
<div class="row">
<div class="col-md-12">
{{ page.content | safe }}
</div>
</div>
</div>
</section>
{% endblock %}
+11
View File
@@ -0,0 +1,11 @@
<section class="map-section">
<iframe
src="https://maps.google.com/maps?q=Kaiserstr.+23,+42329+Wuppertal&t=&z=15&ie=UTF8&iwloc=&output=embed"
width="100%"
height="450"
style="border:0"
loading="lazy"
referrerpolicy="no-referrer-when-downgrade"
title="Karte: Praxis am Lienhardplatz">
</iframe>
</section>