Next theme tags plugin
Centered Quote
This tag will make a quote with two lines before and after it, and text quoted will be centered. When using centered quote, if we have multi-line text, and each line has a different length, the quote won’t be symmetrical, so it’s recommended to use when only have single line text. For example before article all after article to make a summary.
Usage1
2
3{% centerquote %}Something{% endcenterquote %}
<!-- Tag Alias -->
{% cq %}Something{% endcq %}
Example1
{% cq %}Elegant in code, simple in core{% endcq %}
Elegant in code, simple in core
Include Raw
This tag include any raw content into your posts. Path is relative to your site source directory.
Usage
include-raw.js1
{% include_raw '_data/path/to/file.html' %}
Example
Let’s create include-raw.html
file in _data
directory under site root directory with following content:
Any raw content may be included with this tag.
Then in any post we can use this content with include_raw
tag:1
{% include_raw '_data/path/to/include-raw.html' %}
Any raw content may be included with this tag.
Button
1 | {% button url, text, icon [class], [title] %} |
example:1
{% button #, Text %}
Button with text & title
1 | {% btn #, Text %}{% btn #, Text & Title,, Title %} |
Button with icon
1 | <div>{% btn #,, home fa-5x %}{% btn #,, home fa-5x %}{% btn #,, home fa-5x %}</div> |
Button with text & icon
1 | <p>{% btn #, Text & Icon (buggy), home %} |
Text & Icon (buggy)
Text & Icon (fixed width)
1 | <p>{% btn #, Text & Large Icon, home fa-fw fa-lg %} |
Text & Large Icon
Text & Large Icon & Title
Label
Usage
1 | {% label [class]@Text %} |
Examples
1 | Lorem {% label @ipsum %} {% label primary@dolor sit %} amet, consectetur {% label success@adipiscing elit, %} sed {% label info@do eiusmod %} tempor incididunt ut labore et dolore magna aliqua. |
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.