添加typesense搜索
最近在构建班级博客,用ghost cms,在构建搜索时发现了typesense,所以把他移植到这个博客上。 安装typesense直接用docker-compose: 1234567891011services: typesense: image: typesense/typesense:30.1 restart: always ports: - "8108:8108" volumes: - ./typesense-data:/data command: '--data-dir /data --api-key=填写key --enable-cors' 然后就是反向代理之类的,不过多写了。 添加数据集123# 先安装库npm install hexo-generator-searchnpm install typesense xml2js 然后在config.yml配置(就是把文章生成json): 1234search: path: search.json field: post c...



