Merge pull request 'fix(member): use right guess for email Address' (#83) from fix/member-contact-instead-of-main-contact2 into master
Reviewed-on: AstrolabeCAE/SiteWebAstrolabe#83
This commit is contained in:
commit
71dd25ca44
@ -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" %}
|
||||
|
Loading…
Reference in New Issue
Block a user