diff --git a/src/jekyll/settings/JekyllSettings.ts b/src/jekyll/settings/JekyllSettings.ts index 30bfffb..201c39a 100644 --- a/src/jekyll/settings/JekyllSettings.ts +++ b/src/jekyll/settings/JekyllSettings.ts @@ -1,4 +1,5 @@ import { O2PluginSettings } from '../../settings'; +import { convertFileName } from '../../FilenameConverter'; export default class JekyllSettings implements O2PluginSettings { private _jekyllPath: string; @@ -9,6 +10,7 @@ export default class JekyllSettings implements O2PluginSettings { day: string, title: string, ): string { + title = convertFileName(title); return `${year}-${month}-${day}-${title}.md`; }