📺 Embed real-time Bilibili bangumi progress in Hexo posts or pages
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Go to file
dependabot[bot] 562bba95eb
Bump glob-parent from 5.1.1 to 5.1.2
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago
.github Create Dependabot config file 5 years ago
.gitignore Initial commit 5 years ago
LICENSE Initial commit 5 years ago
README.md 📝 Fix README.md 5 years ago
index.js 📝 Update README.md 5 years ago
package-lock.json Bump glob-parent from 5.1.1 to 5.1.2 3 years ago
package.json Bump hexo-log from 2.0.0 to 3.0.0 4 years ago

README.md

hexo-tag-bilibili-bangumi

📺 Embed real-time Bilibili bangumi progress in Hexo posts or pages

一个专为 Hexo 设计的基于 Bilibili-Bangumi-JS 的 Bilibili 追番进度展示插件。

安装

npm install hexo-tag-bilibili-bangumi --save 

用法

在需要插入追番进度的文章(post)或独立页面(page)中,使用如下标签即可插入。

{% bangumi "key_1=value_1" "key_2=value_2" ... "key_n=value_n" %}

其中key_n=value_n的键值对表示一个设置项及其对应的值,目前支持的设置项有:

  • apiUrl - (必填)设置后端域名,包括https://和末尾的/api(后端的安装请参考这里)。

  • vmid - (必填)设置 Bilibili UID可在个人空间中查看。

示例:

{% bangumi "apiUrl=https://bilibili-bangumi-js.vercel.app/api" "vmid=66745436" %}

进阶

在站点的config.yml中,可以对本插件进行更加高级的设置。

hexo-tag-bilibili-bangumi:
  # (可选)设置静态资源的默认存放路径(因主题而异)
  js_path: /assets/js/
  css_path: /assets/css/

感谢❤️