forked from eduardoboucas/staticman
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3 from hispanic/notif-sender-name
Allow for customizing the name of the sender to put on notification emails
- Loading branch information
Showing
3 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,10 +42,16 @@ const schema = { | |
env: 'EMAIL_DOMAIN' | ||
}, | ||
fromAddress: { | ||
doc: 'Email address to send notifications from. Will be overridden by a `notifications.fromAddress` parameter in the site config, if one is set.', | ||
doc: 'Email address to send notifications from.', | ||
format: String, | ||
default: '[email protected]', | ||
env: 'EMAIL_FROM' | ||
}, | ||
fromName: { | ||
doc: 'Name of the sender to put on notification emails.', | ||
format: String, | ||
default: 'Staticman', | ||
env: 'EMAIL_FROM_NAME' | ||
} | ||
}, | ||
env: { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters