소스 검색

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.