about summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/aerc-templates.7.scd7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index ff5d4b5..d065012 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -125,6 +125,13 @@ aerc provides the following additional functions:
 	{{dateFormat .Date "Mon Jan 2 15:04:05 -0700 MST 2006"}}
 	```
 
+*version*
+	Returns the version of aerc, which can be useful for things like X-Mailer.
+
+	```
+	X-Mailer: aerc {{version}}
+	```
+
 *Function chaining*
 	All of the template functions can be chained together if needed.
 
revision' href='/akkartik/mu/blame/factorial.mu?h=main&id=2e3b597fe85b654e82b891c22d50754fa5a26156'>^
192d59d3 ^
77d5b5d6 ^
4a48bedc ^
984a6321 ^





c1d92c9d ^
192d59d3 ^

32241605 ^
b96af395 ^
08b48a8d ^
b96af395 ^


192d59d3 ^
b96af395 ^
bafc7192 ^
b96af395 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33