0%

文章置顶插件

安装配置

  1. 安装插件:
1
2
npm uninstall hexo-generator-index --save
npm install hexo-generator-index-pin-top --save
  1. 在需要置顶的文章的 Front-matter 中加上 top: true 或者 top: 任意数字:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    ---
    title: TMDb电影数据分析
    declare: true
    toc: true
    tags:
    - Python
    - 数据分析
    categories:
    - 数据分析
    - 实战
    abbrlink: 7e380af2
    date: 2018-11-23 13:20:03
    top: 100
    ---