项目作者: riesinger

项目描述 :
A hugo-lunr alternative written in go
高级语言: Go
项目地址: git://github.com/riesinger/hugo-golunr.git
创建时间: 2017-06-30T08:56:54Z
项目社区:https://github.com/riesinger/hugo-golunr

开源协议:

下载


hugo-golunr, a golang alternative to hugo-lunr

As you probably don’t like installing node, npm and a ton of packages into your CI, which generates
a static hugo page, I created this golang implementation of hugo-lunr. It generates a lunrjs
search index from the current working directory.

Installing

go install github.com/riesinger/hugo-golunr@latest

Usage

  1. cd /path/to/your/site
  2. hugo-golunr

Pretty easy, huh? After running hugo-golunr, you’ll see a search_index.json file in your
./static directory. Just load that in your theme.