diff options
Diffstat (limited to 'doc/aerc-templates.7.scd')
-rw-r--r-- | doc/aerc-templates.7.scd | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd index bfba05c4..f5998b23 100644 --- a/doc/aerc-templates.7.scd +++ b/doc/aerc-templates.7.scd @@ -196,6 +196,16 @@ aerc provides the following additional functions: {{index (.To | names) 0}} ``` +*initials* + Extracts the initials from the names part from a mail.Address list. If + there is no name available, the first letter of the email address is + returned instead. + + ``` + {{.To | initials | join ", "}} + {{index (.To | initials) 0}} + ``` + *emails* Extracts the addresses part from a mail.Address list. |