瀏覽代碼

Added doc on templating

Brendan Abolivier 8 年之前
父節點
當前提交
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.