Skip to content

Instantly share code, notes, and snippets.

View radan-magie's full-sized avatar

Daniele Magiera radan-magie

  • Mintlayer
  • Italy
View GitHub Profile
radan-magie / gist:b83e34bc9ec2884ff19a8cee23c2f613
Last active September 19, 2023 08:35
Gruntfile to allow Lunr to work on a standard goHugo setup, some problems with multiline YAML variables.
Originale here:
// var toml = require("toml");
var yaml = require("yamljs");
var S = require("string");
var CONTENT_PATH_PREFIX = "website/content";
var OUTPUT_FILE = "website/static/assets/js/lunr/PagesIndex.json";