From bf9ad7b6e3720f6cd3b71ad17d2ae5f8e5d9e29b Mon Sep 17 00:00:00 2001 From: "Juan D. Pinto" Date: Tue, 1 Jan 2019 22:27:21 +0200 Subject: [PATCH] Set contentSlug to true --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 866a3c1..21cb754 100644 --- a/index.js +++ b/index.js @@ -90,7 +90,7 @@ const Formatter = function (options) { this.relativeTo = options.relativeTo; this.markdown = !options.noMarkdown; - this.contentSlug = !!options.contentSlug; + this.contentSlug = true; // !!options.contentSlug; this.defaults = options.defaults; this.deriveLanguages = options.deriveLanguages || false; this.filenameStyle = options.filenameStyle || '_posts/:year-:month-:day-:slug';