mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-07-06 09:51:29 +02:00
#638 - Hexo draft folder support
This commit is contained in:
@@ -44,7 +44,7 @@ export default function usePages(pages: Page[]) {
|
||||
let pagesToShow: Page[] = Object.assign([], searchedPages);
|
||||
|
||||
// Framework specific actions
|
||||
if (framework?.toLowerCase() === 'jekyll') {
|
||||
if (framework?.toLowerCase() === 'jekyll' || framework?.toLowerCase() === 'hexo') {
|
||||
pagesToShow = pagesToShow.map((page) => {
|
||||
// https://jekyllrb.com/docs/posts/#drafts
|
||||
const filePath = parseWinPath(page.fmFilePath);
|
||||
|
||||
Reference in New Issue
Block a user