These are copied from the existing easy-hugo-*-image commands but create
a figure shortcode rather than an image tag.
This enables the use of figure shortcodes rather than img tags. Removed "alt" and "width" and added "title" attributes. This was just a matter of preference and may not be to everyone's taste.
Note there seemed to be some tabs vs spaces issues in the original and the new functions are copied/pasted so may suffer from the same thing.
These are copied from the existing easy-hugo-*-image commands but create a figure shortcode rather than an image tag.
This enables the use of figure shortcodes rather than img tags. Removed "alt" and "width" and added "title" attributes. This was just a matter of preference and may not be to everyone's taste.
Note there seemed to be some tabs vs spaces issues in the original and the new functions are copied/pasted so may suffer from the same thing.