hexo-butterfly-artitalk

1.0.4 • Public • Published

hexo-butterfly-artitalk

給 hexo-theme-butterfly 添加 Artitalk 説説

安裝

  1. 安裝插件

    npm install hexo-butterfly-artitalk
  2. LeanCloud 配置 參考 Artitalk 文檔 - LeanCloud 的相關準備

  3. 添加配置信息 在 Hexo 的配置文件 或者 主題的配置文件中添加

      # Artitalk
      # see https://artitalk.js.org/
      artitalk:
        enable: true
        appId:
        appKey:
        path:
        js:
        option:
        front_matter:
    參數 解釋
    appId 【必須】LeanCloud 創建的應用中的 AppID
    appKey 【必須】LeanCloud 創建的應用中的 AppKEY
    path 【可選】Artitalk 的路徑名稱(默認為 artitalk,生成的頁面為 artitalk/index.html)
    js 【可選】更換 Artitalk 的 js CDN(默認為 https://cdn.jsdelivr.net/npm/artitalk
    option 【可選】Artitalk 需要的額外配置
    front_matter 【可選】Artitalk 頁面的 front_matter 配置

截圖

image

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i hexo-butterfly-artitalk

    Weekly Downloads

    142

    Version

    1.0.4

    License

    Apache-2.0

    Unpacked Size

    3.61 kB

    Total Files

    4

    Last publish

    Collaborators

    • jerrywong