1.0.5 • Published 3 years ago

hexo-butterfly-fcircle v1.0.5

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
3 years ago

hexo-butterfly-fcircle

hexo-theme-butterfly添加 友链朋友圈

安装

  1. 安装插件,在博客根目录[Blogroot]下打开终端,运行以下指令:

    npm install hexo-butterfly-fcircle --save
  2. 添加配置信息 在站点配置文件_config.yml或者主题配置文件_config.butterfly.yml中添加

      # fcircle
      # see https://zfe.space/friendcircle/
      # see https://akilar.top/posts/8480b91c/
      fcircle:
        enable: true #控制开关
        apiurl: https://hexo-circle-of-friends-api.vercel.app/api #api地址
        maxnumber: 20 #【可选】页面展示文章数量
        addnumber: 10 #【可选】每次加载增加的篇数
        opentype: '_blank' #【可选】'_blank'打开新标签,'_self'本窗口打开,默认为'_blank'
        nofollow: true #【可选】开启禁止搜索引擎抓取,默认开启
        preload: #【可选】加载动画图片链接
        css: #【可选】开发者接口,自定义css链接
        js: #【可选】开发者接口,自定义js链接
        path: #【可选】fcircle的路径名称。默认为 fcircle,生成的页面为 fcircle/index.html
        front_matter: #【可选】fcircle页面的 front_matter 配置
          title: 朋友圈
          comments: false
  3. 参数释义

    参数备选值/类型释义
    enabletrue/false控制开关
    apiurlURLapi链接,配置教程参看基于 hexo 的友链朋友圈
    maxnumbernumber【可选】填写阿拉伯数字,页面展示文章数量,默认20
    addnumbernumber【可选】填写阿拉伯数字,每次加载增加的篇数,默认10
    opentype'_blank''_self'【可选】'_blank'新标签打开,'_self'本窗口打开,默认为'_blank'
    nofollowtrue/false【可选】开启禁止搜索引擎抓取,默认开启
    preloadURL【可选】加载动画图片链接
    cssURL【可选】开发者接口,自定义css链接
    jsURL【可选】开发者接口,自定义js链接
    pathstring【可选】字符串,fcircle的路径名称。默认为 fcircle,生成的页面为 fcircle/index.html
    front_matterobject【可选】写法见上文示例,fcircle页面的 front_matter 配置

截图

npm.io

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago