Browse Source

Added doc on templating

Brendan Abolivier 8 years ago
parent
commit
499803ca99
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      README.md

+ 5
- 0
README.md View File

73
 
73
 
74
 The `recipients` server is an array containing the e-mail addresses any message sent via the form will be sent to. Just write down the form's recipient(s)'s addresse(s).
74
 The `recipients` server is an array containing the e-mail addresses any message sent via the form will be sent to. Just write down the form's recipient(s)'s addresse(s).
75
 
75
 
76
+## Templating
77
+
78
+Each e-mail sent by the form follows a template described in `template.pug` (it's [Pug](pugjs.org/)). If you want to change the way the e-mails you receive are displayed in your mailbox, just edit it! You don't even need to restart the server aftewards :smile:
79
+
80
+
76
 ## Contribute
81
 ## Contribute
77
 
82
 
78
 If you like this project and want to help, there's many way to do it.
83
 If you like this project and want to help, there's many way to do it.