hexo/tag/message

Register custom Hexo tag {% message %}.

(require("hexo/tag/message"))(hexo)

Register custom Hexo tag {% message %}.

This tag is rendered as a Bulma message box.

Tag Parameters:
Name Type Description
color string [Optional] Color of the message. Available values are: dark, primary, link, info, success, warning, danger.
icon string [Optional] Icon shown in the message header. Use FontAwesome icon class name for this field.
title string [Optional] Message title in the message header. Markdown is supported.
size string [Optional] Size of the message box. Available values are: small, medium, large. Default size is normal.
Source:
See:
Parameters:
Name Type Description
hexo Hexo The Hexo instance.
Example
{% message color:warning 'icon:fas fa-info-circle' 'title:*ATTENTION*' size:small %}
    **This is a warning message.**
{% endmessage %}