Skip to content

Commit

Permalink
Update preBuild.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
fretchen committed Jan 15, 2025
1 parent 152e518 commit 238969e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/preBuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ import { removeMath } from "./cleanMd";
import { copyImg } from "./copyImg";

// prepare the blog part of the website
getBlogs({ blogDirectory: "./blog" });
getBlogs({ blogDirectory: "./blog", sortBy: "publishing_date" });

// prepare the amo part of the website
removeMath("./amo");
getBlogs({ blogDirectory: "./amo" });
getBlogs({ blogDirectory: "./amo", sortBy: "order" });
copyImg("amo");

0 comments on commit 238969e

Please sign in to comment.