浏览代码

Added doc on templating

父节点
当前提交
499803ca99
签署人:: Brendan Abolivier <contact@brendanabolivier.com> GPG 密钥 ID: 8EF1500759F70623
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5
    0
      README.md

+ 5
- 0
README.md 查看文件

@@ -73,6 +73,11 @@ The `mailserver` section is the set of parameters which will be passed to nodema
73 73
 
74 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 81
 ## Contribute
77 82
 
78 83
 If you like this project and want to help, there's many way to do it.