Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gerteck committed Aug 12, 2024
1 parent 8633721 commit 105ea59
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/core/src/Site/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,6 @@ export class Site {
});
const { index } = newIndex;
if (index) {
logger.info('Indexing pages for PageFind');
await index.addDirectory({ path: this.outputPath });
await index.writeFiles({ outputPath: `${this.outputPath}/pagefind` });
}
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/plugins/pageFind.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import cheerio from 'cheerio';
// import { PluginContext, FrontMatter } from './Plugin';
// todo: (gerteck) find a way to import the UI and Script from the working directory, if possible.
// todo: find a way to import the UI and Script from the working directory.
// const DEFAULT_UI = 'https://cdn.jsdelivr.net/npm/@pagefind/default-ui@1.0.4/+esm';

const JS_FILE_NAME = 'pageFindAssets/pagefind-ui.min.js';
Expand Down

0 comments on commit 105ea59

Please sign in to comment.