A template function that is suitable for using as the template
argument of
compose_email()
. Template functions should generally not be called
directly. When implementing your own template function, you must include
parameters for html_body
, html_header
, html_footer
, and title
; you
may also optionally add your own parameters, which callers to
compose_email()
can provide through the ...
argument.
blastula_template( html_body, html_header, html_footer, title, content_width = "1000px", font_family = "Helvetica, sans-serif" )
html_body, html_header, html_footer | htmltools tag objects (e.g.
|
---|---|
title | Plain text title to be used for the |
content_width | The width that should be used for the content area. By
default, this is set to |
font_family | The CSS value to use for |
A string containing a complete HTML document.