getgrav / grav-plugin-email

Grav Email Plugin
http://getgrav.org
MIT License
37 stars 29 forks source link

How to access pages in email templates? #130

Closed ntopulos closed 1 year ago

ntopulos commented 4 years ago

I need to access values from multiple pages inside an email template, but pages.find() does not seem to work in there.

mahagr commented 4 years ago

You can always use grav.pages.find() as grav should be defined everywhere.