This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Made a few tweaks from Miguel's original code to... | |
* meet my usecase. | |
*/ | |
import dayjs from 'dayjs'; | |
import utc from 'dayjs/plugin/utc'; | |
import customParseFormat from 'dayjs/plugin/customParseFormat'; | |
import timezone from 'dayjs/plugin/timezone'; | |
dayjs.extend(utc); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//////////////////////////////////////////////////////////////////////////////// | |
// Create a directory called "pages" next to | |
// this file, put markdown files in there, and | |
// then run: | |
// | |
// ``` | |
// $ node build.mjs | |
// ``` | |
// | |
// Then deploy the "build" directory somewhere. |