fix(member): use right guess for email Address #83

Merged
florent.lesaout merged 1 commits from fix/member-contact-instead-of-main-contact2 into master 2024-03-20 15:19:19 +01:00

View File

@ -56,7 +56,7 @@
{% if emailSlug %}
{% set contactMember = emailSlug %}
{% elif url %}
{% set contactMember = url | replace("/members/","") %}
{% set contactMember = url | replace("/members/","") | replace("-",".") %}
{% endif %}
{% set contactTitle = ["Écrire à ",name] | join %}
{% include "partials/components/contact-form.njk" %}