UNPKG

@indiekit/preset-jekyll

Version:

Jekyll publication preset for Indiekit

25 lines (19 loc) 450 B
import { getPostTemplate } from "./lib/post-template.js"; import { getPostTypes } from "./lib/post-types.js"; export default class JekyllPreset { constructor() { this.name = "Jekyll preset"; } get info() { return { name: "Jekyll", }; } postTemplate(properties) { return getPostTemplate(properties); } init(Indiekit) { this.postTypes = getPostTypes(Indiekit.postTypes); Indiekit.addPreset(this); } }