mirror of
https://github.com/jhillyerd/inbucket.git
synced 2026-01-07 11:47:16 +00:00
Add customizable greeting to index page
Allow an organization to copy the greeting.html file out of the themes directory, customize it, then point the greeting.file config option at it so that it will survive Inbucket upgrades.
This commit is contained in:
9
themes/greeting.html
Normal file
9
themes/greeting.html
Normal file
@@ -0,0 +1,9 @@
|
||||
<p>Inbucket is an email testing service; it will accept email for any email
|
||||
address and make it available to view without a password.</p>
|
||||
|
||||
<p>To view email for a particular address, enter the username portion
|
||||
of the address into the box on the upper right and click <em>go</em>.</p>
|
||||
|
||||
<p>This message can be customized by editing greeting.html. Change the
|
||||
configuration option <code>greeting.file</code> if you'd like to move it
|
||||
outside of the Inbucket installation directory.</p>
|
||||
@@ -9,11 +9,4 @@
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
{{define "content"}}
|
||||
<p>Inbucket is an email testing service; it will accept email for any email
|
||||
address and make it available to view without a password.</p>
|
||||
|
||||
<p>To view email for a particular address, enter the username portion
|
||||
of the address into the box on the upper right and click <em>go</em>.</p>
|
||||
{{end}}
|
||||
|
||||
{{define "content"}}{{.greeting}}{{end}}
|
||||
|
||||
Reference in New Issue
Block a user