Shortcodes
ABSTRACT
shortcodes in Nivis theme
CONTENTS
Nivis provides various shortcodes for you to use in your posts.
Images
To place an image in your post with alt text and message.
Template:
{{ image(src="img src", alt="alt text", caption="caption text") }}
Example:
Collapse
To place a collapse box in your post. Folded up by default, set unfold to true to unfold it by default.
Template:
{% collapse(summary="Summary") %}
Content hidden by default.
{% end %}
{% collapse(summary="Summary", unfold=true) %}
Content shown by default.
{% end %}
Example:
Summary
Content hidden by default.
Summary
Content shown by default.