Files
natascha-rieter.nl-user/themes/natascha/templates/contact.html.twig
T
GitSyncandClaude Sonnet 5 1b84a435e0 Rewrite homepage intro flow and add Google Maps button to contact page
Fix jullie/je inconsistency, retitle the CV link as levensloop, group
practice/commissions/teaching into one paragraph so the poetic closing
line stands alone, and fix minor typos. Add a "plan your visit" button
on the Contact page linking to Google Maps directions (no origin set,
so it defaults to the visitor's current location) — implemented in the
Twig template rather than page content since Grav's markdown parser
escapes raw HTML in page body text.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XeFfgLSYdiS9UXcjiNzME3
2026-08-30 17:42:28 +02:00

11 lines
591 B
Twig

{% extends 'partials/base.html.twig' %}
{% set page_class = 'row p-3' %}
{% block content %}
{% set is_en = (grav.language.active ?? 'nl') == 'en' %}
<div class="col-12 col-md-8 col-lg-6 p-3 text-start">
<h1 class="funky-font main-header">{{ page.title }}</h1>
{{ content|raw }}
<a href="https://www.google.com/maps/dir/?api=1&destination=Sint%20Agnesplein%204%2C%206241%20CA%20Bunde%2C%20Nederland" target="_blank" rel="noopener noreferrer" class="btn btn-brand mt-3">{{ is_en ? 'Plan your visit with Google Maps' : 'Plan je bezoek via Google Maps' }}</a>
</div>
{% endblock %}