# `@vuepress-plume/vuepress-plugin-blog-data` ## Install ``` yarn add @vuepress-plume/vuepress-plugin-blog-data ``` ## Usage ``` js // .vuepress/config.js const { blogDataPlugin } = require('@vuepress-plume/vuepress-plugin-blog-data') module.exports = { //... plugins: [ blogDataPlugin() ] // ... } ``` ## Options ```ts interface BlogDataPluginOptions { include?: string | string[] exclude?: string | string[] sortBy?: 'createTime' | false | ((prev: T, next: T) => boolean) excerpt?: boolean extendBlogData?: (page: T) => Record } ```