Mail on multiple pages

What’s the best way of adding same contact email form on multiple pages?

You could set up a modular site which contains your form and insert this form into your page with the page link plugin https://github.com/getgrav/grav-plugin-page-inject .

What we did in cases like that is inserting a field with the url of the modular page with the form so we could access the content from this page with ‘find()’ in our template https://learn.getgrav.org/themes/theme-vars#findurl . As path we simply insert the value of the field which we created for the url. It’s like a modular page for accessing another modular page.

great, thanks!

Tried page-inject but it wasn’t working for me. In chat with Andy Miller he mentions the solution is to use forms 2.0
see getgrav/grav-plugin-form#85, section “Displaying Forms in Page Content”