improve effects, start adding search

This commit is contained in:
Joshua Seigler 2025-06-11 16:50:47 -04:00
parent e2fb545d0b
commit 36554b5b7b
8 changed files with 184 additions and 68 deletions

View file

@ -11,6 +11,7 @@ import utc from "dayjs/plugin/utc.js";
import clean from "eleventy-plugin-clean";
import site from "./site/_data/site.js";
import { feedPlugin } from "@11ty/eleventy-plugin-rss";
import { execSync } from 'child_process';
dayjs.extend(utc);
@ -133,6 +134,10 @@ export default (config) => {
stylesheet: "/simple-atom.xslt",
});
config.on('eleventy.after', () => {
execSync(`npx pagefind --site dist --glob \"**/*.html\"`, { encoding: 'utf-8' });
});
return {
dir: {
input: "site",