Hexo-fluid主题Tag插件
Hexo fluid主题的Tag插件,在此整理记录,方便取用
官网:配置指南 | Hexo Fluid 用户手册 | Tag 插件
便签
紫色
primary
{% note primary %}
primary
{% endnote %}
灰色
Secondary
{% note secondary %}
secondary
{% endnote %}
绿色
Success
{% note success %}
success
{% endnote %}
红色
Danger
{% note danger %}
danger
{% endnote %}
黄色
Warning
{% note warning %}
warning
{% endnote %}
蓝色
Info
{% note info %}
info
{% endnote %}
黑色
Light
{% note light %}
light
{% endnote %}
行内标签
紫色 默认 蓝色 绿色 黄色 红色{% label primary @紫色 %}
{% label default @默认 %}
{% label info @蓝色 %}
{% label success @绿色 %}
{% label warning @黄色 %}
{% label danger @红色 %}
勾选框
{% cb text, checked?, incline? %}
勾选
不勾选
{% cb 勾选, true, false%}
{% cb 不勾选, false, false%}
按钮
{% btn 链接, 显示文本, 鼠标悬浮文字 %}
组图
{% gi total n1-n2-... %}





{% endgi %}
total:图片总数量,对应中间包含的图片 url 数量
n1-n2-…:每行的图片数量,可以省略,默认单行最多 3 张图,求和必须相等于 total,否则按默认样式
Hexo-fluid主题Tag插件
https://lkhsss.github.io/编程/Hexo/hexo-fluid主题tag插件/