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
Showing only changes of commit f94f98b8da - Show all commits

View File

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