Code for generating my personal website. The generated website is intended to be hosted with GitHub Pages.
-
Install Node.js 20 or newer.
-
Install dependencies:
npm install
-
Start the local development server:
npm run dev
-
Open
http://localhost:4321in your browser.
npm run buildThe built site is generated in dist/.
Deployment is handled by GitHub Actions via .github/workflows/deploy.yml.
- Push to
main(ormaster). - In the GitHub repository settings, set Pages to deploy from GitHub Actions.
- Edit site-wide metadata in
src/site.config.ts. - Edit homepage content in
src/pages/index.md. - Edit styles in
src/styles/main.scss. - Static assets are served from
public/.
- Fork this repository.
- Rename the repository you just forked to
YOUR-USER.github.io, whereYOUR-USERis your GitHub username. - Clone your renamed repository.
- Run
npm installandnpm run dev. - Edit
src/site.config.tsandsrc/pages/index.mdwith your personal information.
I started building the layout of this website by modifying the compass template.
The content is released under the terms of the MIT License.