Releases: BenMorganIO/blot
Add Components to Blot
This minor version update adds two new methods: section
and panel_section
. Please refer to the README for what they generate.
Remove wrapper class for wrapper and add center method.
This release comes with a change and an addition.
The #wrapper
method has changed behaviour and instead of typing wrapper(class: 'wrapper')
you can now just type wrapper
. If you would like to generate a wrapper without the class you can use wrapper(wrapper: false)
.
The #center
method generated a <td>
tag and sets the alignment and class to center
as well as having an HTML4 <center>
tag as a child node.
Happy coding!
Bug Fix For Layout
1.1.0 introduced the layout
helper. In this minor update, we have only three commits. The first one ensures that you can send nil
content to the layout, the second ensures that the layout is html_safe
, and the third simply bumps the version.
Support for Layout
1.0.0 identified that Blot was ready to use in production environments. 1.1.0 now adds a new method, layout
, to be able to cut the fat on email layouts. See the README for details on how to use the layout
method.
Grid
Initial work for a grid. It'll need some tests.