hexo-butterfly-categories-card
Advanced tools
Comparing version 0.0.2 to 0.0.3
'use strict' | ||
// 全局声明插件代号 | ||
const pluginname = 'butterfly_categorybar' | ||
const pluginname = 'butterfly_categories_card' | ||
// 全局声明依赖 | ||
@@ -28,3 +28,3 @@ const pug = require('pug') | ||
row: config.row ? config.row : 2, //显示行数,默认两行,超过行数切换为滚动显示 | ||
custom_css: config.custom.css ? urlFor(config.custom.css) : "https://cdn.jsdelivr.net/npm/hexo-butterfly-categorybar/lib/categorybar.css" | ||
custom_css: config.custom_css ? urlFor(config.custom_css) : "https://cdn.jsdelivr.net/npm/hexo-butterfly-categories-card/lib/categorybar.css" | ||
} | ||
@@ -31,0 +31,0 @@ // 渲染页面 |
{ | ||
"name": "hexo-butterfly-categories-card", | ||
"version": "0.0.2", | ||
"description": "A Slideshow plugin for theme-butterfly based on swiper", | ||
"version": "0.0.3", | ||
"description": "A categories card plugin for theme-butterfly", | ||
"main": "index.js", | ||
@@ -18,5 +18,4 @@ "scripts": { | ||
"hexo", | ||
"renderer", | ||
"swiper", | ||
"Slideshow", | ||
"filter", | ||
"cotegotise card", | ||
"butterfly", | ||
@@ -33,4 +32,4 @@ "theme-butterfly", | ||
"type": "git", | ||
"url": "https://github.com/Akilarlxh/hexo-butterfly-cotegotise-bar.git" | ||
"url": "https://github.com/Akilarlxh/hexo-butterfly-categories-card.git" | ||
} | ||
} |
@@ -47,4 +47,3 @@ # hexo-butterfly-category-card | ||
cover: https://cdn.jsdelivr.net/npm/akilar-candyassets/image/cover6.webp | ||
custom: | ||
css: https://cdn.jsdelivr.net/npm/hexo-butterfly-categorybar/lib/categorybar.css | ||
custom_css: https://cdn.jsdelivr.net/npm/hexo-butterfly-categorybar/lib/categorybar.css | ||
``` | ||
@@ -63,8 +62,8 @@ 3. 参数释义 | ||
|row|number|【可选】显示行数,默认两行,超过行数切换为滚动显示| | ||
|message.name|text|分类名称,需要和你自己的文章分类一一对应| | ||
|message.name|text|分类名称,需要和你自己的文章分类一一对应,排序原理就是根据你在此写的分类名进行排序,未写入的就不会显示。| | ||
|message.descr|text|分类描述| | ||
|message.cover|url|分类背景| | ||
|custom.css|url|【可选】自定义样式,会替换默认的css链接,可以下载文档给出的cdn链接后自主修改| | ||
|custom_css|url|【可选】自定义样式,会替换默认的css链接,可以下载文档给出的cdn链接后自主修改| | ||
# 截图 | ||
![](https://cdn.jsdelivr.net/npm/akilar-candyassets/image/af2f14fe.png) |
15127
68